配置ZSH, TMUX, VIM

Linux 神器
sudo apt-get install silversearcher-ag tree htop zsh git git-core autojump openssh-server vim curl hddtemp lm-sensors -y

ZSH
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sudo chsh $USER -s which zsh

  1. 将autojump加入到zsh的配置中
  2. 重启电脑 sudo shutdown -r 0
  3. 主题用 'ys'
alias tl='tmux ls'
alias tn='tmux new -s'

git, autojump, zsh-autosuggestions zsh-syntax-highlighting
值得注意的是,根据官方文档,zsh-syntax-highlighting 插件需放在最后
sudo apt-get install git-core autojump
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

cd ~
mkdir .zshplugins && cd .zshplugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> \({ZDOTDIR:-\)HOME}/.zshrc

plugins=(git autojump zsh-autosuggestions)

TMUX
sudo apt install tmux -y
cd ~
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .

VIM
git clone --depth=1 https://github.com/nowgood/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh

posted @ 2024-04-16 23:34  nowgood  阅读(15)  评论(0编辑  收藏  举报