Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,16 @@ RUN apt install neovim -y
RUN git clone --dept 1 https://github.com/ecosse3/nvim.git $HOME/.config/nvim
RUN nvim --headless -c 'Lazy sync' -c 'qa'

# ------------------------------
# LazyDocker & LazyGit
# ------------------------------
RUN curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": *"v\K[^"]*') &&\
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" &&\
tar xf lazygit.tar.gz lazygit &&\
install lazygit -D -t /usr/local/bin/ &&\
rm -rf lazygit.tar.gz lazygit

# ------------------------------
# Clean
# ------------------------------
Expand Down
13 changes: 6 additions & 7 deletions .devcontainer/home/.zshrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
export LC_ALL=$LOCAL
export LANG=$LOCAL

export HISTSIZE=10000
export SAVEHIST=10000

export HISTFILE=~/.zsh_history
export EDITOR=vim

# PATH
Expand All @@ -17,7 +10,9 @@ if [ -d "$HOME/.local/bin" ] ; then
fi

# Oh-My-ZSH
export ZSH="$HOME/.oh-my-zsh"
plugins=(sudo aliases git docker docker-compose node nvm npm)
source $ZSH/oh-my-zsh.sh

# Python
echo 'eval "$(uv generate-shell-completion zsh)"' >> ~/.zshrc
Expand All @@ -38,6 +33,10 @@ alias ls='lsd -A'
alias ll='lsd -lA'
alias lt='lsd --tree'

# LazyDocker & LazyGit
alias ldocker='lazydocker'
alias lgit='lazygit'

# TheFuck
eval $(thefuck --alias)

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Docker Hub Description
if: success() && github.ref == format('refs/heads/{0}', 'master')
if: success() && github.ref_type == 'tag'
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- [Vim](https://www.vim.org/) Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient.
- [NeoVim](https://github.com/neovim/neovim) Vim-fork focused on extensibility and usability
- [ecosse3/nvim](https://github.com/ecosse3/nvim) A non-minimal Neovim config built to work most efficiently with Frontend Development
- [LazyDocker](https://github.com/jesseduffield/lazydocker) & [LazyGit](https://github.com/jesseduffield/lazygit) The lazier way to manage everything in docker or git
- But also `git`, `gpg`, `curl`, `wget`, etc.

### 🧑‍💻 Languages & Runtimes
Expand Down
Loading