diff options
author | Julian T <julian@jtle.dk> | 2020-10-01 16:10:31 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-10-01 16:10:31 +0200 |
commit | 6ae74f4df85f6307073c0d786a35e05e2ac917a6 (patch) | |
tree | 9ac5e4e31a5dc0d6972cf5c2e52b5d9d363dfcf1 /zsh/.zshrc | |
parent | 8006b3068f1df05a6671377658085a5471e1f708 (diff) |
Added goto script
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r-- | zsh/.zshrc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -82,7 +82,7 @@ export EDITOR=nvim export SUDO_EDITOR=$EDITOR export LANG=en_US.UTF-8 export TERM="xterm-256color" - +export PATH=$PATH:$HOME/Scripts/bin # # Alias @@ -114,3 +114,10 @@ function gittr { git push -u $1 HEAD } +function goto { + $HOME/Scripts/goto $@ + if [ $? -eq 3 ]; then + cd $(</tmp/where) + fi +} + |