4 ms·
Like what? Out of curiosity.
by raziel2p 10y ago
Like what? Out of curiosity.
- p4bl0 10y agoI detailed some of these dirty things in an old (2011) blog post: https://shebang.ws/fast-window-switch-2-bash-tricks.html https://shebang.ws/fast-window-switch-2-bash-tricks.html
- CJefferson 10y agoYou could use PS0 to make your terminal title be "running <name of program>" when a program is running, then "directory <dir name>" when just on a prompt (that might be too busy for some people, but I'd like to know if a program is actively running in the terminal title).
- p4bl0 10y agoSee my other comment with a link to a blogpost that explains how to do just this before having PS0 :).
- CJefferson 10y agoAh, cool. Didn't realise there was a hack around it (that might still be useful on non-4.4 systems).
- deleted 10y ago[deleted]
- ball_of_lint 10y agoThis is really nice if you keep your own history because then the directory stored for commands like cd will be the one it was called from rather than the one it moved you into.