Shell config changes
This commit is contained in:
parent
503603d705
commit
1ec39640b9
5 changed files with 58 additions and 4 deletions
|
@ -116,7 +116,7 @@ prompt_git(){
|
|||
local branch="$(git branch --show-current 2> /dev/null)"
|
||||
local color="green"
|
||||
local ret=""
|
||||
if [ -n "branch" ]; then
|
||||
if [ -n "$branch" ]; then
|
||||
ret="$branch"
|
||||
local repoTopLevel="$(command git rev-parse --show-toplevel 2> /dev/null)"
|
||||
local untrackedFiles=$(command git ls-files --others --exclude-standard "${repoTopLevel}" 2> /dev/null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue