Last active
December 14, 2015 20:09
-
-
Save foxish/5141988 to your computer and use it in GitHub Desktop.
Tcsh prompt: Display last 2 elements of current directory as prompt
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
alias precmd 'set prompt="%c2 "' #displays last 2 elements of filepath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment