Add Distrobox indication support #15

Merged
pztrn merged 3 commits from hdkv/zsh-config:hdkv/distrobox into master 2024-07-25 14:29:40 +05:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d5739f19ec - Show all commits

View File

@ -23,7 +23,7 @@ prompt_fat0troll_setup () {
vars['brackets_end']="%{$fg[yellow]%}]%{$reset_color%}"
# Session-dependend colorizing.
# Local will be black, remote and Distrobox - yellow.
# Local will be black, remote and containers - yellow.
if [[ -n $SSH_TTY ]]; then
vars['console']="$vars['brackets_start']SSH$vars['brackets_end']"
vars['default_color']="%{$fg[cyan]%}"

View File

@ -21,7 +21,7 @@ prompt_pztrn_setup () {
precmd_functions=(${precmd_functions[@]} "prompt_pztrn_gitinfo" "prompt_pztrn_createprompt")
# Session-dependend colorizing.
# Local will be black, remote and Distrobox - yellow.
# Local will be black, remote and containers - yellow.
if [[ -n $SSH_TTY ]]; then
vars['brackets_start']="%{$fg[yellow]%}[%{$reset_color%}"
vars['brackets_end']="%{$fg[yellow]%}]%{$reset_color%}"