diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-06 02:57:14 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-01 18:37:35 +0200 |
commit | b6538e6139f0158099bd407bb737ed7b9af26e67 (patch) | |
tree | 75abfba977383f5539c048644148ed0810711983 /zsh/aliases.zsh | |
parent | 9188fba3b14c331744b8593138f9496adea4ea60 (diff) | |
download | dotfiles-b6538e6139f0158099bd407bb737ed7b9af26e67.tar.xz |
Move preexec to theme
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh/aliases.zsh')
-rw-r--r-- | zsh/aliases.zsh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 85b7a35..4b9ad55 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -47,17 +47,6 @@ sp() { printf '%s' "$@"; printf '\n'; } have() { command -v "$1" >&/dev/null; } -# Print basic prompt to the window title -function precmd { - print -Pn "\e];%n %~\a" -} - -# Print the current running command's name to the window title -function preexec { - local cmd=${1[(wr)^(*=*|sudo|exec|ssh|-*)]} - print -Pn "\e];$cmd:q\a" -} - # service management if have systemctl && [[ -d /run/systemd/system ]]; then alias ssctl='sudo systemctl' |