My configuration files for multiple shell programs.
cp ~/.bashrc ~/.bashrc_bak # create a backup of your previous config
cp bash/bashrc ~/.bashrc
Note: this will change your default shell.
cp ~/.zshrc ~/.zshrc_bak
# clone plugins for my config
mkdir -p ~/git/zsh_plugins/
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/git/zsh_plugins/powerlevel10k
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/git/zsh_plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/git/zsh_plugins/zsh-autosuggestions
cp zsh/zshrc ~/.zshrc
cp zsh/p10k.zsh ~/.p10k.zsh
chsh -s $(which zsh) # change default shell to zsh
Utilities for memory checks + default config:
cp -r tmux/tmux_scripts ~/.tmux_scripts
cp tmux/tmux.conf ~/.tmux.conf
Don't forget to type :PlugInstall
after first launch of neovim.
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
mkdir -p ~/.config/nvim
cp neovim/init.vim ~/.config/nvim/init.vim
curl -fLo ~/.var/app/io.neovim.nvim/data/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
mkdir -p ~/.var/app/io.neovim.nvim/config/nvim
cp neovim/init.vim ~/.var/app/io.neovim.nvim/config/nvim/init.vim