diff --git a/scripts/scripts/haasz b/scripts/scripts/haasz new file mode 100755 index 0000000..769b7bc --- /dev/null +++ b/scripts/scripts/haasz @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +# Uses the `zet` command setting the directory to the +# Housh As A System zet repository. + +main() { + (ZETDIR="$HAASZET" eval zet "$@") +} + +main "$@" diff --git a/zsh/config/.zshrc b/zsh/config/.zshrc index 5895f66..bc9bbde 100644 --- a/zsh/config/.zshrc +++ b/zsh/config/.zshrc @@ -192,7 +192,6 @@ alias reload='exec zsh -l' alias temp='cd $(mktemp -d)' alias vi='vim' alias nvim='unset VIMINIT && unset MYVIMRC && nvim' - #------------------------------ functions ------------------------------ mkcd() { local dir="$1"