Fix bug in date in PS1
This commit is contained in:
parent
02828c3124
commit
bd5cfc3072
2
.bashrc
2
.bashrc
@ -158,6 +158,6 @@ git_prompt () {
|
|||||||
|
|
||||||
if [ "$BASH" != "" ]; then
|
if [ "$BASH" != "" ]; then
|
||||||
# Prompt
|
# Prompt
|
||||||
PS1="\n╔ \w\$(prev_status_prompt)\$(git_prompt) -- \$(date '+%y-%m-%dT%H:%m:%S')\n╚ \h\$ "
|
PS1="\n╔ \w\$(prev_status_prompt)\$(git_prompt) -- \$(date '+%y-%m-%dT%H:%M:%S')\n╚ \h\$ "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user