From c6d8d73765d8edad753b7d8c04f3a32a71386909 Mon Sep 17 00:00:00 2001 From: bain Date: Sat, 28 Oct 2023 14:47:57 +0200 Subject: [PATCH] update zsh config --- zsh/.zshrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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