diff --git a/.README.md b/.README.md index c7d7022..975dfa4 100644 --- a/.README.md +++ b/.README.md @@ -33,6 +33,19 @@ dotfiles checkout 2>&1 | egrep "\s+" | awk {'print $1'} | dotfiles checkout ``` +## Install into `/etc/skel` + +``` +sudo mkdir -p /etc/skel/.dotfiles +sudo chown $(whoami) /etc/skel + +git clone --bare $(dotfiles remote -v | head -1 | cut -f2 | cut -f1 -d' ') /etc/skel/.dotfiles + +alias skelfiles='/usr/bin/git --git-dir=/etc/skel/.dotfiles --work-tree=/etc/skel' +skelfiles config --local status.showUntrackedFiles no +skelfiles checkout +``` + ## Useful Commands - List all tracked files (from CWD): @@ -101,6 +114,10 @@ So it is more coherent/simpler to copy this behaviour into Zsh. ## lazygit +```` +sudo apt install git-delta +```` + ### Binary Releases ``` @@ -125,6 +142,7 @@ go install github.com/jesseduffield/lazygit@latest ``` mkdir -p $HOME/dev_3rd/golang cd $HOME/dev_3rd/golang + git clone https://github.com/jesseduffield/lazygit.git cd lazygit go install @@ -133,10 +151,17 @@ go install ## neovim ```` +sudo apt install libfuse2 xsel + +mkdir -p $HOME/.local/bin cd $HOME/.local/bin + curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage chmod u+x nvim.appimage ln -sf nvim.appimage nvim +ln -sf nvim.appimage vi + cd $HOME nvim --version +vi --version ````