.
This commit is contained in:
parent
93a38129c0
commit
397ff450de
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
function set_bash_prompt () {
|
function bash_ps1 () {
|
||||||
local LAST_EXIT_STATUS=$?
|
local LAST_EXIT_STATUS=$?
|
||||||
local EXIT_STATUS=""
|
local EXIT_STATUS=""
|
||||||
local GIT_BRANCH=""
|
local GIT_BRANCH=""
|
||||||
@ -57,4 +57,4 @@ function set_bash_prompt () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export PROMPT_COMMAND=set_bash_prompt
|
export PROMPT_COMMAND=bash_ps1
|
||||||
|
Loading…
Reference in New Issue
Block a user