diff options
author | micah <micah@leap.se> | 2013-07-01 01:08:13 +0200 |
---|---|---|
committer | micah <micah@leap.se> | 2013-07-01 01:08:13 +0200 |
commit | 35f9bbda60c38c3b16cd1340b876ee09dd2f7e1d (patch) | |
tree | 04622b7127da0f32185551be2f6b93f65e1a9012 /puppet/modules/site_config/files | |
parent | 4a102a1e9c856cb4df787f0aaa80747d4cdaa0c7 (diff) | |
parent | 6c34c73f7e4c5203321547b699c6eaba9de8e2fe (diff) |
Merge branch 'feature/authorized_keys' of /home/git/repositories/micah/leap_platform into develop
Diffstat (limited to 'puppet/modules/site_config/files')
-rw-r--r-- | puppet/modules/site_config/files/xterm-title.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/site_config/files/xterm-title.sh b/puppet/modules/site_config/files/xterm-title.sh new file mode 100644 index 00000000..3cff0e3a --- /dev/null +++ b/puppet/modules/site_config/files/xterm-title.sh @@ -0,0 +1,8 @@ +# If this is an xterm set the title to user@host:dir +case "$TERM" in +xterm*|rxvt*) + PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' + ;; +*) + ;; +esac |