-
Notifications
You must be signed in to change notification settings - Fork 270
Closed
Description
When I start a devbox shell
I see no visual indication that I'm in the shell, but it definitely is working
# type lazygit
lazygit is hashed (/nix/store/alnmpxx1njfnv671sgnqxrws1bbari6r-lazygit-0.35/bin/lazygit)
# echo $PS1
\n\d \t\n\e[37;44m[\u@\h:\w]\[\e[00m\] \[\e[91m\]$(parse_git_branch)\[\e[00m\]\n#
# type parse_git_branch
parse_git_branch is a function
parse_git_branch ()
{
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
Metadata
Metadata
Assignees
Labels
No labels