From 6b822772a51881bbc34c6508ea99f5239a4e341b Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Wed, 23 Feb 2022 21:32:13 -0500 Subject: [PATCH] Added haasz script --- scripts/scripts/haasz | 12 ++++++++++++ zsh/config/.zshrc | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 scripts/scripts/haasz 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"