My ZSH Configurations
The configurations are for my macOS workstation and therefore contain some macOS-specific code and commands.
# get to the home folder $ cd # pull the git repos $ git clone https://github.com/htr3n/zsh-config.git .zsh-config # then link the startup files $ zsh ~/.zsh-config/bootstrap.sh
Log out and login again!!!
In case you want to have private setting excluded from public Git repos, just create a file
.private.sh in the home folder.
Instead of manually installing some ZSH plugins, I use antibody to manage necessary plugins (some are not working with antibody such as 'fzf', so manual task it is).
Recently, I have switched to zplugin with cool Turbo Mode to accelerate the loading and checking of ZSH plugins. Thus,
zplugin needs to be installed as well.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zplugin/master/doc/install.sh)"
zplugin installation script will automatically add some commands into the end of
.zshrc to initialise / load
_init.sh has already the initialisation of
zplugin, thus, we should remove or comment the parts added by
zplugin installation script.
Some useful plugins:
<3 MIT License.