This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh -f | |
# This is the successor to settab and settitle functions (as well as the chpwd function). | |
# It avoids the explicit definition and use of special functions such as | |
# chpwd, precmd, preexec, instead setting appropriate arrays. This is to prevent conflicts | |
# with user's prompt functions and so forth. | |
# This is designed to put by default the computer name and whole directory path | |
# into the title bar (and if availble) the $PWD and penultimate directory | |
# in the tab. Also enables transient display of a running command (eg vim). |