emacs terminal zsh pwd

This commit is contained in:
willemml 2023-08-07 15:46:03 -07:00
parent 41411b05d9
commit 92f00895aa
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD

View file

@ -33,6 +33,13 @@
''
export GPG_TTY=$(tty)
if [ -n "$INSIDE_EMACS" ]; then
chpwd() {
print -P "\032/$(pwd)"
}
fi
function s() {
${shellAliases.web} "https://google.com/search?q=$(echo $@ | sed -e 's/ /%20/g')"
}