Awesome
zsh-tgswitch
zsh plugin for installing and loading tgswitch
Table of content
This documentation section is generated automatically
<!--TOC--> <!--TOC-->Usage
Once the plugin installed, tgswitch
will be available
- Using Antigen
Bundle zsh-tgswitch
in your .zshrc
antigen bundle ptavares/zsh-tgswitch
- Using zplug
Load zsh-tgswitch
as a plugin in your .zshrc
zplug "ptavares/zsh-tgswitch"
- Using zgen
Include the load command in your .zshrc
zget load ptavares/zsh-tgswitch
- As an Oh My ZSH! custom plugin
Clone zsh-tgswitch
into your custom plugins repo and load as a plugin in your .zshrc
git clone https://github.com/ptavares/zsh-tgswitch.git ~/.oh-my-zsh/custom/plugins/zsh-tgswitch
plugins+=(zsh-tgswitch)
Keep in mind that plugins need to be added before oh-my-zsh.sh
is sourced.
- Manually
Clone this repository somewhere (~/.zsh-tgswitch
for example) and source it in your .zshrc
git clone https://github.com/ptavares/zsh-tgswitch ~/.zsh-tgswitch
source ~/.zsh-tgswitch/zsh-tgswitch.plugin.zsh
Updating tgswitch
The plugin comes with a zsh function to update tgswitch manually
# From zsh shell
update_zsh_tgswitch