diff --git a/zsh/.zshrc b/zsh/.zshrc index 42cc1bf..2592947 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -2,7 +2,7 @@ export ZSH="/home/bain/.oh-my-zsh" ZSH_THEME="cypher" -plugins=(git pass) +plugins=(git pass ssh-agent) source $ZSH/oh-my-zsh.sh @@ -29,7 +29,7 @@ on_edit() { echo "Running:" echo " $ $2" echo "on all edits in \"$1\"" - inotifywait -r -m fe -e CREATE -e CLOSE_WRITE -e DELETE -e MOVE $1 \ + inotifywait -r -m fe -e CREATE -e CLOSE_WRITE -e DELETE -e MOVE ${=1} \ | while read dir action file; do echo "$dir $action $file"; $2; done } @@ -54,3 +54,7 @@ certinfo() { alias yay="GNUPGHOME=$HOME/.gnupg-yay yay" alias md2fancyhtml="py -m markdown -x fenced_code -x codehilite" + +[ -f "/home/bain/.ghcup/env" ] && source "/home/bain/.ghcup/env" # ghcup-env + +export PGHOST=localhost