Update bash prompt

master
Hektor Misplon 2022-10-25 20:54:33 +02:00
parent 9856b53ef9
commit 184f4fe0fc
1 changed files with 3 additions and 1 deletions

View File

@ -16,11 +16,13 @@ get_git_info() {
git rev-parse --is-inside-work-tree &>/dev/null || return
echo -e "$(get_branch_name)"
}
export PS1="\u \w ❭\[$(tput sgr0)\] "
PS1="\u \w ❭\[$(tput sgr0)\] "
# Ellipsis when deep in directory
export PROMPT_DIRTRIM=2
export PS1
# }}}
# Path {{{