mirror of
https://github.com/hcartiaux/dotfiles.git
synced 2024-10-18 17:25:23 +02:00
[bash] Slurm integration in the prompt
This commit is contained in:
parent
4e5fcf07c2
commit
7b524a2228
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ __colorized_exit_status() {
|
||||||
# This prompt is perfect for terminal with black background, in my case the
|
# This prompt is perfect for terminal with black background, in my case the
|
||||||
# Vizor color set (see http://visor.binaryage.com/) or iTerm2
|
# Vizor color set (see http://visor.binaryage.com/) or iTerm2
|
||||||
__set_my_prompt() {
|
__set_my_prompt() {
|
||||||
PS1="${PS1_SCREEN}$(__colorized_exit_status) ${LIGHT_CYAN}\t${RESET_COLOR} ${COLOR_USER}\u${RESET_COLOR}@${CYAN_UNDERLINE}\h${RESET_COLOR}(${PS1_EXTRAINFO})${RED}\$(__oar_ps1_remaining_time)${RESET_COLOR}${GREEN}\$(__git_ps1 \" (%s)\")\$(__svn_ps1)${RESET_COLOR} ${BLUE}\W${RESET_COLOR} ${P} "
|
PS1="${PS1_SCREEN}$(__colorized_exit_status) ${LIGHT_CYAN}\t${RESET_COLOR} ${COLOR_USER}\u${RESET_COLOR}@${CYAN_UNDERLINE}\h${RESET_COLOR}(${PS1_EXTRAINFO})${RED}\$(__slurm_ps1_remaining_time)\$(__oar_ps1_remaining_time)${RESET_COLOR}${GREEN}\$(__git_ps1 \" (%s)\")\$(__svn_ps1)${RESET_COLOR} ${BLUE}\W${RESET_COLOR} ${P} "
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set the color prompt by default when interactive
|
# Set the color prompt by default when interactive
|
||||||
|
|
Loading…
Reference in a new issue