update zsh config
This commit is contained in:
parent
79989e13af
commit
c6d8d73765
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue