summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-10-01 16:10:31 +0200
committerJulian T <julian@jtle.dk>2020-10-01 16:10:31 +0200
commit6ae74f4df85f6307073c0d786a35e05e2ac917a6 (patch)
tree9ac5e4e31a5dc0d6972cf5c2e52b5d9d363dfcf1 /zsh/.zshrc
parent8006b3068f1df05a6671377658085a5471e1f708 (diff)
Added goto script
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 1778f49..cbb4caf 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -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
+}
+