Add prompt icons

This commit is contained in:
Hektor Misplon
2020-05-07 18:12:19 +00:00
parent 4f7e452a8c
commit 67b01c94b8
2 changed files with 3 additions and 2 deletions

View File

@@ -16,10 +16,10 @@ get_branch_name() {
get_git_info() {
git rev-parse --is-inside-work-tree &>/dev/null || return
echo -e "- ${1}$(get_branch_name)"
echo -e " ${1}$(get_branch_name)"
}
PS1='\[\033[38;5;244m\]\[${bold}\]$(get_git_info && echo "\n")\[${reset}\]\u \W $ '
PS1='\[\033[38;5;244m\]\[${bold}\]$(get_git_info && echo "\n")\[${reset}\]\u \W '
# history
export HISTCONTROL=ignoreboth

1
.suckless/st-8.3 Submodule

Submodule .suckless/st-8.3 added at dc0c988a06