Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ptavares/zsh-tgswitch
zsh plugin for installing and loading tgswitch
https://github.com/ptavares/zsh-tgswitch
terragrunt tgswitch zsh zsh-plugin
Last synced: about 2 months ago
JSON representation
zsh plugin for installing and loading tgswitch
- Host: GitHub
- URL: https://github.com/ptavares/zsh-tgswitch
- Owner: ptavares
- License: mit
- Created: 2021-10-08T14:41:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-17T15:09:27.000Z (almost 2 years ago)
- Last Synced: 2024-01-25T14:42:51.625Z (4 months ago)
- Topics: terragrunt, tgswitch, zsh, zsh-plugin
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Lists
- awesome-zsh-plugins - tgswitch - Installs and loads [tgswitch](https://github.com/warrensbox/tgswitch). (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - tgswitch - Installs and loads <b><code> 138⭐</code></b> <b><code> 33🍴</code></b> [tgswitch](https://github.com/warrensbox/tgswitch)). (Plugins / ZSH on Windows)
- awesome-zsh-plugins - tgswitch - Installs and loads [tgswitch](https://github.com/warrensbox/tgswitch). (Plugins / ZSH on Windows)
README
# zsh-tgswitch
![GitHub](https://img.shields.io/github/license/ptavares/zsh-tgswitch)
zsh plugin for installing and loading [tgswitch](https://github.com/warrensbox/tgswitch)
## Table of content
_This documentation section is generated automatically_
- [zsh-tgswitch](#zsh-tgswitch)
- [Table of content](#table-of-content)
- [Usage](#usage)
- [Updating tgswitch](#updating-tgswitch)
- [License](#license)## Usage
Once the plugin installed, `tgswitch` will be available
- Using [Antigen](https://github.com/zsh-users/antigen)
Bundle `zsh-tgswitch` in your `.zshrc`
```shell script
antigen bundle ptavares/zsh-tgswitch
```- Using [zplug](https://github.com/b4b4r07/zplug)
Load `zsh-tgswitch` as a plugin in your `.zshrc`
```shell script
zplug "ptavares/zsh-tgswitch"
```- Using [zgen](https://github.com/tarjoilija/zgen)
Include the load command in your `.zshrc`
```shell script
zget load ptavares/zsh-tgswitch
```- As an [Oh My ZSH!](https://github.com/robbyrussell/oh-my-zsh) custom plugin
Clone `zsh-tgswitch` into your custom plugins repo and load as a plugin in your `.zshrc`
```shell script
git clone https://github.com/ptavares/zsh-tgswitch.git ~/.oh-my-zsh/custom/plugins/zsh-tgswitch
``````shell script
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`
```shell script
git clone https://github.com/ptavares/zsh-tgswitch ~/.zsh-tgswitch
``````shell script
source ~/.zsh-tgswitch/zsh-tgswitch.plugin.zsh
```## Updating tgswitch
The plugin comes with a zsh function to update [tgswitch](https://github.com/ahmetb/tgswitch.git) manually
```shell script
# From zsh shell
update_zsh_tgswitch
```## License
[MIT](LICENCE)