]> git.quilime.com - cfg.git/commitdiff
Updating prompt
authorGabriel Dunne <gdunne@quilime.com>
Wed, 9 Dec 2020 01:55:04 +0000 (17:55 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Wed, 9 Dec 2020 01:55:04 +0000 (17:55 -0800)
.zsh-prompt

index 0498f45adcf810a7ebbdd3dec105e82679ecba1b..e88137e6360d00a54ed07cf590abc0363bd0dc2c 100644 (file)
@@ -2,9 +2,9 @@
 setopt prompt_subst
 
 # Prompt (on left side) similar to default bash prompt, or redhat zsh prompt with colors
- #PROMPT="%(!.%{$fg[red]%}[%n@%m %1~]%{$reset_color%}# .%{$fg[green]%}[%n@%m %1~]%{$reset_color%}$ "
+PROMPT="%(!.%{$fg[red]%}[%n@%m %1~]%{$reset_color%}# .%{$fg[green]%}[%n@%m %1~]%{$reset_color%}$ "
 # Maia prompt
-PROMPT="%B%{$fg[cyan]%}%(4~|%-1~/.../%2~|%~)%u%b >%{$fg[cyan]%}>%B%(?.%{$fg[cyan]%}.%{$fg[red]%})>%{$reset_color%}%b " # Print some system information when the shell is first started
+PROMPT="%B%{$fg[cyan]%}%(4~|%-1~/.../%2~|%~)%u%b >%{$fg[cyan]%}>%B%(?.%{$fg[cyan]%}.%{$fg[red]%})>%{$reset_color%}%b " # Print some system information when the shell is first started
 # Print a greeting message when shell is started
 echo $USER@$HOST  $(uname -srm) $(lsb_release -rcs)
 ## Prompt on right side: