gtl shell-init
Print a shell function that wraps gtl so commands which resolve a repository directory leave your shell in that directory. Add it to your shell startup file: Bash: echo 'eval "$(gtl shell-init bash)"' >> ~/.bashrc Zsh: echo 'eval "$(gtl shell-init zsh)"' >> ~/.zshrc Fish: gtl shell-init fish > ~/.config/fish/functions/gtl.fish
Aliases
shellinit
Usage
bash
gtl shell-init [bash|zsh|fish] [flags]Full Help
text
Print a shell function that wraps gtl so commands which resolve a repository
directory leave your shell in that directory.
Add it to your shell startup file:
Bash:
echo 'eval "$(gtl shell-init bash)"' >> ~/.bashrc
Zsh:
echo 'eval "$(gtl shell-init zsh)"' >> ~/.zshrc
Fish:
gtl shell-init fish > ~/.config/fish/functions/gtl.fish
Usage:
gtl shell-init [bash|zsh|fish] [flags]
Aliases:
shell-init, shellinit
Flags:
-h, --help help for shell-init