Add Distrobox indication support #15
@ -23,7 +23,7 @@ prompt_fat0troll_setup () {
|
|||||||
vars['brackets_end']="%{$fg[yellow]%}]%{$reset_color%}"
|
vars['brackets_end']="%{$fg[yellow]%}]%{$reset_color%}"
|
||||||
|
|
||||||
# Session-dependend colorizing.
|
# Session-dependend colorizing.
|
||||||
# Local will be black, remote and Distrobox - yellow.
|
# Local will be black, remote and containers - yellow.
|
||||||
if [[ -n $SSH_TTY ]]; then
|
if [[ -n $SSH_TTY ]]; then
|
||||||
vars['console']="$vars['brackets_start']SSH$vars['brackets_end']"
|
vars['console']="$vars['brackets_start']SSH$vars['brackets_end']"
|
||||||
vars['default_color']="%{$fg[cyan]%}"
|
vars['default_color']="%{$fg[cyan]%}"
|
||||||
|
@ -21,7 +21,7 @@ prompt_pztrn_setup () {
|
|||||||
precmd_functions=(${precmd_functions[@]} "prompt_pztrn_gitinfo" "prompt_pztrn_createprompt")
|
precmd_functions=(${precmd_functions[@]} "prompt_pztrn_gitinfo" "prompt_pztrn_createprompt")
|
||||||
|
|
||||||
# Session-dependend colorizing.
|
# Session-dependend colorizing.
|
||||||
# Local will be black, remote and Distrobox - yellow.
|
# Local will be black, remote and containers - yellow.
|
||||||
if [[ -n $SSH_TTY ]]; then
|
if [[ -n $SSH_TTY ]]; then
|
||||||
vars['brackets_start']="%{$fg[yellow]%}[%{$reset_color%}"
|
vars['brackets_start']="%{$fg[yellow]%}[%{$reset_color%}"
|
||||||
vars['brackets_end']="%{$fg[yellow]%}]%{$reset_color%}"
|
vars['brackets_end']="%{$fg[yellow]%}]%{$reset_color%}"
|
||||||
|
Loading…
Reference in New Issue
Block a user