zsh-tgswitch

October 8, 2021 ยท View on GitHub

GitHub

zsh plugin for installing and loading tgswitch

Table of content

This documentation section is generated automatically

Usage

Once the plugin installed, tgswitch will be available

Bundle zsh-tgswitch in your .zshrc

antigen bundle ptavares/zsh-tgswitch

Load zsh-tgswitch as a plugin in your .zshrc

zplug "ptavares/zsh-tgswitch"

Include the load command in your .zshrc

zget load ptavares/zsh-tgswitch

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

License

MIT