ln -s /[path]/dotfiles/vim/linux/vimrc ~/.vim/vimrc# 1. using `.config`
ln -s /[path]/dotfiles/nvim ~/.config/nvim
# or
cp -r /[path]/dotfiles/nvim ~/.config/nvim
# 2. using $XDG_CONFIG_HOME
ln -s /[path]/dotfiles/nvim $XDG_CONFIG_HOME/nvim
# or
cp -r /[path]/dotfiles/nvim $XDG_CONFIG_HOME/nvimZsh + Oh My Zsh
-
Switch to Zsh
cat /etc/shells chsh -s $(which zsh) -
# 1. using `.confg` ZSH="$HOME/.config/oh-my-zsh" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ZSH="$HOME/.config/oh-my-zsh" sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ZSH="$HOME/.config/oh-my-zsh" sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # 2. using $XDG_CONFIG_HOME ZSH="$XDG_CONFIG_HOME/oh-my-zsh" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ZSH="$XDG_CONFIG_HOME/oh-my-zsh" sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ZSH="$XDG_CONFIG_HOME/oh-my-zsh" sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-
.zshrccp /[path]/dotfiles/zsh/.zshrc ~ -
Plugins
-
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions -
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
-
-
Themes
-
Need Nerd Fonts
-
# install: git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k # update: git -C ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k pull
-
# 1. using `.config`
ln -s /[path]/dotfiles/alacritty ~/.config/alacritty
# or
cp -r /[path]/dotfiles/alacritty ~/.config/alacritty
# 2. using $XDG_CONFIG_HOME
ln -s /[path]/dotfiles/alacritty $XDG_CONFIG_HOME/alacritty
# or
cp -r /[path]/dotfiles/alacritty $XDG_CONFIG_HOME/alacritty# 1. using `.config`
ln -s /[path]/dotfiles/wezterm ~/.config/wezterm
# or
cp -r /[path]/dotfiles/wezterm ~/.config/wezterm
# 2. using $XDG_CONFIG_HOME
ln -s /[path]/dotfiles/wezterm $XDG_CONFIG_HOME/wezterm
# or
cp -r /[path]/dotfiles/wezterm $XDG_CONFIG_HOME/weztermtmux + Oh my tmux!
# 1. using `.confg`
git clone https://github.com/gpakosz/.tmux.git ~/.config/oh-my-tmux
mkdir -p ~/.config/tmux
ln -s ~/.config/oh-my-tmux/.tmux.conf ~/.config/tmux/tmux.conf
ln -s /[path]/dotfiles/tmux/.tmux.conf.local ~/.config/tmux/tmux.conf.local
# 2. using $XDG_CONFIG_HOME
git clone https://github.com/gpakosz/.tmux.git $XDG_CONFIG_HOME/oh-my-tmux
mkdir -p $XDG_CONFIG_HOME/tmux
ln -s $XDG_CONFIG_HOME/oh-my-tmux/.tmux.conf $XDG_CONFIG_HOME/tmux/tmux.conf
ln -s /[path]/dotfiles/tmux/.tmux.conf.local $XDG_CONFIG_HOME/tmux/tmux.conf.local