diff options
author | James Cox <james@imaj.es> | 2009-09-23 16:14:43 +0100 |
---|---|---|
committer | James Cox <james@imaj.es> | 2009-09-23 16:14:43 +0100 |
commit | f363c025daa1dbf684f80ab7e29d34dbd5fb9d89 (patch) | |
tree | 468cac0489d816c642d25aad2fc99df437a637b0 /xterms.zsh | |
parent | 8a8a7bafa037ef253ce582a182c77a74b76ac309 (diff) | |
download | zsh-f363c025daa1dbf684f80ab7e29d34dbd5fb9d89.tar.gz zsh-f363c025daa1dbf684f80ab7e29d34dbd5fb9d89.tar.bz2 zsh-f363c025daa1dbf684f80ab7e29d34dbd5fb9d89.zip |
put everything in lib
Diffstat (limited to 'xterms.zsh')
-rw-r--r-- | xterms.zsh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/xterms.zsh b/xterms.zsh deleted file mode 100644 index fef978748..000000000 --- a/xterms.zsh +++ /dev/null @@ -1,21 +0,0 @@ -case "$TERM" in - xterm*|rxvt*) - preexec () { - print -Pn "\e]0;%n@%m: $1\a" # xterm - } - precmd () { - print -Pn "\e]0;%n@%m: %~\a" # xterm - } - ;; - screen*) - preexec () { - local CMD=${1[(wr)^(*=*|sudo|ssh|-*)]} - echo -ne "\ek$CMD\e\\" - print -Pn "\e]0;%n@%m: $1\a" # xterm - } - precmd () { - echo -ne "\ekzsh\e\\" - print -Pn "\e]0;%n@%m: %~\a" # xterm - } - ;; -esac
\ No newline at end of file |