mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
emacs terminal zsh pwd
This commit is contained in:
parent
41411b05d9
commit
92f00895aa
1 changed files with 7 additions and 0 deletions
|
@ -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')"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue