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)"
Note that zplugin
installation script will automatically add some commands into the end of .zshrc
to initialise / load zplugin
. Nonetheless, _init.sh
has already the initialisation of zplugin
, thus, we should remove or comment the parts added by zplugin
installation script.
Some useful plugins:
I developed most of the configuration on my own but nevertheless learned a lot from Oh-my-zsh and Prezto and many other sources for various settings.
<3 MIT License.