chore: zsh stuff

This commit is contained in:
xyno (Philipp Hochkamp) 2023-05-31 15:29:51 +02:00
parent 13d38caa18
commit b41df72bdb
4 changed files with 1673 additions and 30 deletions

View file

@ -1,5 +1,5 @@
AGKOZAK_MULTILINE=0
AGKOZAK_PROMPT_CHAR=( "%F{red}N%f")
# AGKOZAK_MULTILINE=0
# AGKOZAK_PROMPT_CHAR=( "%F{red}N%f")
autoload -Uz history-search-end
zle -N history-beginning-search-backward-end history-search-end
@ -49,8 +49,4 @@ n ()
fi
}
export ORIGTMPDIR=${TMPDIR:-$(mktemp -d)} # nix-shell overrides tmpdir, but we want to save it
emacsclient ()
{
command emacsclient -s $ORIGTMPDIR/emacs$(id -u)/server "$@"
}