dotfiles, my personal oh-my-zsh plugin.
for none oh-my-zsh users, you can try copy the functions to you .bashrc
file directly.
- cd_clone
aliasecdc
, downloadgithub.com/user_name/repo_name
to folder~/github/user_name/repo_name
- cd_fzf
aliasecdf
, cd tofzf
selected directory. need installfzf
andfd
first - install_plugins
install useful plugins, then you can enable them in.zshrc
see aliases.zsh.
Using Oh-my-zsh:
-
Clone this repository in oh-my-zsh's plugins directory:
git clone https://github.com/feitian124/dotfiles ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/dotfiles
-
Activate the plugin in
~/.zshrc
:plugins=( [plugins...] dotfiles)
-
Source
~/.zshrc
to take changes into account:source ~/.zshrc
-
Install plugins.(depends on this dotfiles plugin so need config it first)
```sh install_plugins ```
Activate plugins
plugins=( [plugins...] dotfiles zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting)