update zsh config

This commit is contained in:
bain 2023-10-28 14:47:57 +02:00
parent 79989e13af
commit c6d8d73765
Signed by: bain
GPG key ID: 31F0F25E3BED0B9B

View file

@ -2,7 +2,7 @@ export ZSH="/home/bain/.oh-my-zsh"
ZSH_THEME="cypher" ZSH_THEME="cypher"
plugins=(git pass) plugins=(git pass ssh-agent)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
@ -29,7 +29,7 @@ on_edit() {
echo "Running:" echo "Running:"
echo " $ $2" echo " $ $2"
echo "on all edits in \"$1\"" 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 | 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 yay="GNUPGHOME=$HOME/.gnupg-yay yay"
alias md2fancyhtml="py -m markdown -x fenced_code -x codehilite" 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