mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-15 06:32:40 +00:00
Added hxzet command
This commit is contained in:
11
scripts/scripts/hxzet
Executable file
11
scripts/scripts/hxzet
Executable 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 "$@"
|
||||||
@@ -23,6 +23,7 @@ export HHEREPOS="$BUCKET/Repos/github.com/hhe-dev"
|
|||||||
export LOCAL_REPOS="$REPOS/local"
|
export LOCAL_REPOS="$REPOS/local"
|
||||||
export HCP_NOTES="$HHEREPOS/hcp-notes"
|
export HCP_NOTES="$HHEREPOS/hcp-notes"
|
||||||
export ZETDIR="$GHREPOS/zets"
|
export ZETDIR="$GHREPOS/zets"
|
||||||
|
export HXZET="$BUCKET/Repos/github.com/hvac-hx/hx-zets"
|
||||||
export DOCUMENTS="$HOME/Documents"
|
export DOCUMENTS="$HOME/Documents"
|
||||||
export DOWNLOADS="$HOME/Downloads"
|
export DOWNLOADS="$HOME/Downloads"
|
||||||
export PDFS="$HOME/Library/Mobile Documents/com~apple~Preview/Documents"
|
export PDFS="$HOME/Library/Mobile Documents/com~apple~Preview/Documents"
|
||||||
@@ -125,7 +126,7 @@ export HISTFILE=$ZDOTDIR/history
|
|||||||
|
|
||||||
#------------------------------ cdpath ------------------------------
|
#------------------------------ cdpath ------------------------------
|
||||||
setopt autocd
|
setopt autocd
|
||||||
export CDPATH=".:$GHREPOS:$DOTFILES:$REPOS/github.com:$LOCAL_REPOS:$HOME"
|
export CDPATH=".:$GHREPOS:$DOTFILES:$LOCAL_REPOS:$HOME"
|
||||||
|
|
||||||
#------------------------------ options ------------------------------
|
#------------------------------ options ------------------------------
|
||||||
# (see `man zshoptions`)
|
# (see `man zshoptions`)
|
||||||
|
|||||||
Reference in New Issue
Block a user