My tech notes

What a stupid human remembers, the smart one writes down!

Thursday, December 08, 2011

xterm + csh: Dynamic titlebar

Put the following in ~/.cshrc:
alias precmd 'echo -n "\033]0;${USER}@${HOST}: ${PWD}\a"'

Source: http://superuser.com/questions/130407/how-can-i-automatically-update-the-title-in-an-xterm-running-screen
Posted by Radomir Jakovljević at 10:34
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Older Post Home
Subscribe to: Post Comments (Atom)

Topics

  • gnuplot
  • IEEE publication
  • latex
  • Linux
  • sed
  • shell
  • Vim
Powered By Blogger

Links

  • Ubuntu Local Community Serbia
  • EliteSecurity forums

Blog Archive

  • ▼  2011 (1)
    • ▼  December (1)
      • xterm + csh: Dynamic titlebar
  • ►  2010 (1)
    • ►  November (1)
  • ►  2009 (1)
    • ►  September (1)
  • ►  2008 (8)
    • ►  November (3)
    • ►  July (2)
    • ►  June (2)
    • ►  February (1)
  • ►  2007 (2)
    • ►  November (2)
  • ►  2006 (1)
    • ►  August (1)
Awesome Inc. theme. Powered by Blogger.