zsh plugin for loading my personal zsh custom functions
Once the plugin installed, custom-functions
will be available
- Using Antigen
Bundle zsh-custom-functions
in your .zshrc
antigen bundle ptavares/zsh-custom-functions
- Using zplug
Load zsh-custom-functions
as a plugin in your .zshrc
zplug "ptavares/zsh-custom-functions"
- Using zgen
Include the load command in your .zshrc
zget load ptavares/zsh-custom-functions
- As an Oh My ZSH! custom plugin
Clone zsh-custom-functions
into your custom plugins repo and load as a plugin in your .zshrc
git clone https://github.com/ptavares/zsh-custom-functions.git ~/.oh-my-zsh/custom/plugins/zsh-custom-functions
plugins+=(zsh-custom-functions)
Keep in mind that plugins need to be added before oh-my-zsh.sh
is sourced.
- Manually
Clone this repository somewhere (~/.zsh-custom-functions
for example) and source it in your .zshrc
git clone https://github.com/ptavares/zsh-custom-functions ~/.zsh-custom-functions
source ~/.zsh-custom-functions/zsh-custom-functions.plugin.zsh