diff options
| author | Mike Vink <ivi@vinkies.net> | 2025-07-25 10:57:49 +0200 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2025-07-25 10:57:49 +0200 |
| commit | 1b52afb562daef3e6b09ccf1cccd61f26b349e22 (patch) | |
| tree | f82d59d5b281d30cc636fbc6487ecc07e9cbcd5a /.config/bash/bashrc | |
| parent | 48a2f738af58da4efdd1b1037fd88c1903e12a06 (diff) | |
macos
Diffstat (limited to '.config/bash/bashrc')
| -rw-r--r-- | .config/bash/bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/bash/bashrc b/.config/bash/bashrc index c7df633..0d8e415 100644 --- a/.config/bash/bashrc +++ b/.config/bash/bashrc @@ -10,7 +10,7 @@ fi [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/bash/local.bashrc" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/bash/local.bashrc" [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/bash/complete_alias" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/bash/complete_alias" -export PS1='\[\e]0;\w $(test "$IN_KAKOUNE_CONNECT" && printf '%s' "- $KAKOUNE_CLIENT@[$KAKOUNE_SESSION]")$(test "$TERM" && printf '%s' "- $TERM")\a\]\n\[\e[32m\]\u@\h \e[34m$(test "$IN_KAKOUNE_CONNECT" && printf '%s' "¶$KAKOUNE_SESSION") \[\e[33m\]\w\[\e[0m\] \[\e[1;91m\]$(branch="$(git branch --show-current 2>/dev/null)" && test "$branch" && printf '%s' " $branch")\[\e[0m\]\n\[\e[1;36;1m\]λ\[\e[0m\] ' +export PS1='\[\e]0;\w $(test "$IN_KAKOUNE_CONNECT" && printf '%s' "- $KAKOUNE_CLIENT@[$KAKOUNE_SESSION]")$(test "$TERM" && printf '%s' "- $TERM")\a\]\n\[\e[32m\]\u@\h \e[34m$(test "$IN_KAKOUNE_CONNECT" && printf '%s' "¶$KAKOUNE_SESSION") \[\e[33m\]\w\[\e[0m\] $(w="$(terraform workspace show; ls *.tf >/dev/null 2>&1)" && test "$w" && printf '%s' "🥡 $w") \[\e[1;91m\]$(branch="$(git branch --show-current 2>/dev/null)" && test "$branch" && printf '%s' " $branch")\[\e[0m\]\n\[\e[1;36;1m\]λ\[\e[0m\] ' export PROMPT_DIRTRIM=3 export PROMPT_COMMAND='history -a' export HISTSIZE=100000 |
