Added hxzet command

This commit is contained in:
2022-01-21 17:04:01 -05:00
parent a4ae5600d6
commit b0c8901b05
2 changed files with 13 additions and 1 deletions

11
scripts/scripts/hxzet Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
# Creates a new `zet` inside the House Call Pro `Zettlekasten`
_main() {
(ZETDIR="$HXZET" eval zet "$@")
}
_main "$@"

View File

@@ -23,6 +23,7 @@ export HHEREPOS="$BUCKET/Repos/github.com/hhe-dev"
export LOCAL_REPOS="$REPOS/local"
export HCP_NOTES="$HHEREPOS/hcp-notes"
export ZETDIR="$GHREPOS/zets"
export HXZET="$BUCKET/Repos/github.com/hvac-hx/hx-zets"
export DOCUMENTS="$HOME/Documents"
export DOWNLOADS="$HOME/Downloads"
export PDFS="$HOME/Library/Mobile Documents/com~apple~Preview/Documents"
@@ -125,7 +126,7 @@ export HISTFILE=$ZDOTDIR/history
#------------------------------ cdpath ------------------------------
setopt autocd
export CDPATH=".:$GHREPOS:$DOTFILES:$REPOS/github.com:$LOCAL_REPOS:$HOME"
export CDPATH=".:$GHREPOS:$DOTFILES:$LOCAL_REPOS:$HOME"
#------------------------------ options ------------------------------
# (see `man zshoptions`)