added newline, I like this alighment better
This commit is contained in:
parent
e132105cc3
commit
198242e1d5
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#
|
#
|
||||||
# Day 2 - Generate Inventory
|
# Day 2 - Exit Code PS1 prompt
|
||||||
# "Pimp my prompt" with the return value of the last command.
|
# "Pimp my prompt" with the return value of the last command.
|
||||||
# source this from ~/.bashrc or similar to modify PS1 to show the return value of previous command.
|
# source this from ~/.bashrc or similar to modify PS1 to show the return value of previous command.
|
||||||
# Use the "demojify" command to restore your previous prompt after sourcing.
|
# Use the "demojify" command to restore your previous prompt after sourcing.
|
||||||
|
@ -27,5 +27,5 @@ demojify ()
|
||||||
PS1=$PS1OLD
|
PS1=$PS1OLD
|
||||||
}
|
}
|
||||||
|
|
||||||
PS1="$PS1 \$(exitprompt)$ "
|
PS1="\$(exitprompt)\n$PS1"
|
||||||
|
|
||||||
|
|
Reference in New Issue