Created
July 9, 2018 09:26
-
-
Save hetima/34ea8da296d7977a0e17d3b8bb869962 to your computer and use it in GitHub Desktop.
This file contains 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
#1行目にカレントパス、2行目に時刻を表示 $i $o に値が代入されていたら内容を表示 | |
PROMPT='%B[%~]%b$([ -n "$i" ] && echo "\n%B$"i:%b $i)$([ -n "$o" ] && echo "\n%B$"o:%b $o) | |
%B[%T]%b ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment