From 6ae74f4df85f6307073c0d786a35e05e2ac917a6 Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 1 Oct 2020 16:10:31 +0200 Subject: Added goto script --- zsh/.zshrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'zsh') 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 $(