From 184f4fe0fc0aa448814659308e487071e5fb9256 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Tue, 25 Oct 2022 20:54:33 +0200 Subject: [PATCH] Update bash prompt --- .bashrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index a90a32a..d344918 100644 --- a/.bashrc +++ b/.bashrc @@ -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 {{{