prefixed the prompt with `last command status` for more clarity
change made on 05/12/2024
This commit is contained in:
parent
69b6e27afb
commit
9469a9f065
|
@ -128,7 +128,7 @@ __prompt_command() {
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
PS1+="[${last_command_status_color}${last_command_status}${RCol}]"
|
PS1+="last command status : [${last_command_status_color}${last_command_status}${RCol}]\n"
|
||||||
|
|
||||||
PS1+='\[\033[01;36m\]\D{%Y%m%d-%H:%M:%S}\[\033[00m\] ${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
PS1+='\[\033[01;36m\]\D{%Y%m%d-%H:%M:%S}\[\033[00m\] ${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue