Page MenuHomeFreeBSD

D32078.diff
No OneTemporary

D32078.diff

diff --git a/bin/csh/dot.cshrc b/bin/csh/dot.cshrc
--- a/bin/csh/dot.cshrc
+++ b/bin/csh/dot.cshrc
@@ -41,6 +41,10 @@
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
+ if ( $TERM =~ "xterm*" ) then
+ alias precmd 'printf "\033]0;${HOST}:$cwd\007"'
+ endif
+
endif
endif
diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc
--- a/share/skel/dot.cshrc
+++ b/share/skel/dot.cshrc
@@ -38,6 +38,10 @@
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
+ if ( $TERM =~ "xterm*" ) then
+ alias precmd 'printf "\033]0;${HOST}:$cwd\007"'
+ endif
+
endif
endif

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 13, 8:28 AM (18 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17132500
Default Alt Text
D32078.diff (721 B)

Event Timeline