summaryrefslogtreecommitdiffstats
path: root/roles/common/files/zshrc
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2020-07-05 20:06:07 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2020-07-05 20:06:07 +0200
commitcc196eb72b17e5e8609fcbd6f4cb63bd653e0139 (patch)
treec3c66bcadae5287e505476e261ba0425090ab539 /roles/common/files/zshrc
parent604afc7a9e08220327033016321382af024d3e85 (diff)
downloadplaybooks-ansible-cc196eb72b17e5e8609fcbd6f4cb63bd653e0139.tar.gz
playbooks-ansible-cc196eb72b17e5e8609fcbd6f4cb63bd653e0139.tar.xz
playbooks-ansible-cc196eb72b17e5e8609fcbd6f4cb63bd653e0139.zip
update sudoers / SPF whitelist and some rc files
Diffstat (limited to 'roles/common/files/zshrc')
-rw-r--r--roles/common/files/zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/common/files/zshrc b/roles/common/files/zshrc
index a7c9641..f06daef 100644
--- a/roles/common/files/zshrc
+++ b/roles/common/files/zshrc
@@ -71,9 +71,9 @@ colors
HISTIGNORE="history:exit:logout"
if [[ "$EUID" = "0" ]] || [[ "$USER" = 'root' ]]; then
- base_prompt="%{$fg_bold[red]%}%m %{$fg_bold[blue]%}%~ %{$fg_bold[red]%}%#%{$reset_color%}%{$fg[red]%}"
+ base_prompt="%{$fg_bold[red]%}%m:%{$fg_bold[blue]%}%~ %{$fg_bold[red]%}%#%{$reset_color%}%{$fg[red]%}"
else
- base_prompt="%{$fg_bold[green]%}%n%{$fg_bold[blue]%}@%{$fg_bold[yellow]%}%m%{$reset_color%} %{$fg_bold[blue]%}%~ %{$fg_bold[green]%}%#%{$reset_color%}%{$fg[green]%}"
+ base_prompt="%{$fg_bold[green]%}%n%{$fg_bold[blue]%}@%{$fg_bold[yellow]%}%m:%{$reset_color%}%{$fg_bold[blue]%}%~ %{$fg_bold[green]%}%#%{$reset_color%}%{$fg[green]%}"
fi
PS1="$base_prompt "
PS2='suite-> '