Skip to content

Latest commit

 

History

History
48 lines (26 loc) · 1.23 KB

README.md

File metadata and controls

48 lines (26 loc) · 1.23 KB

dotfiles for zsh

[Mac OS/Ubuntu]

Install Homebrew (Mac OS)

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
sudo brew vim tmux git zsh curl

Install VIM, TMUX, GIT, ZSH, CURL (Ubuntu)

sudo apt install vim tmux git zsh curl

Install OH-MY-ZSH

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Switch to ZSH shell

sudo chsh -s /bin/zsh
echo $SHELL

notes: If use command 'echo $SHELL' without '/bin/zsh' then must be restart shell env.

Install DOTFILES

git clone https://github.com/xuzewei/dotfiles.git ~/dotfiles
sh ~/dotfiles/.make.sh

Install VIM Plugin (option)

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim ~/.vimrc

notes: switch to command line(use esc key), input ':PluginInstall'

Install ZSH Plugin (option)

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Install tmux Plugin (option)

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Install nodejs (option)

sudo snap install node --classic --channel=14