From ccc533cae3875d45eb521f7c90e7d30b9b943bbf Mon Sep 17 00:00:00 2001 From: arcan1s Date: Wed, 29 Jun 2016 14:23:11 +0300 Subject: [PATCH] change prompt --- yaourtrc | 12 +++++++----- zsh/prompt.zsh | 4 ++-- zsh/prompt_server.zsh | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/yaourtrc b/yaourtrc index 2c62849..0ea688d 100644 --- a/yaourtrc +++ b/yaourtrc @@ -6,15 +6,16 @@ # General #AUTOSAVEBACKUPFILE=0 -#DEVELSRCDIR="" #DEVEL=0 -#VISUAL="$VISUAL" -#EDITOR="$EDITOR" -#FORCEENGLISH=0 +#DEVELSRCDIR="" #FORCE=0 -#TMPDIR="/tmp" #NO_TESTDB=0 +# Environment variables +#EDITOR="$EDITOR" +#TMPDIR="/tmp" +#VISUAL="$VISUAL" + # SUDO SUDONOVERIF=1 # Avoid multiple sudo checks when timestamp_timeout=0 #SUDOREDIRECT=1 # Define to 0 in case you use a fingerprint device @@ -30,6 +31,7 @@ SUDONOVERIF=1 # Avoid multiple sudo checks when timestamp_timeout=0 #AURCOMMENT=5 #AURDEVELONLY=0 #AURSEARCH=1 +#AURSHOWDIFF=0 #AURUPGRADE=0 #AURVOTE=1 #AURUSEGIT=0 diff --git a/zsh/prompt.zsh b/zsh/prompt.zsh index 087c6c1..74c5cbd 100644 --- a/zsh/prompt.zsh +++ b/zsh/prompt.zsh @@ -4,7 +4,7 @@ if [[ $EUID == 0 ]]; then PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\ %{$fg_bold[red]%}%n%{$reset_color%}\ %{$fg_bold[white]%}@%{$reset_color%}\ -%{$fg_no_bold[red]%}%m %{$reset_color%}\ +%{$fg_no_bold[red]%}%M %{$reset_color%}\ %{$fg_bold[yellow]%}%1/%{$reset_color%}\ %{$fg_bold[white]%}]# %{$reset_color%}" else @@ -12,7 +12,7 @@ else PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\ %{$fg_bold[green]%}%n%{$reset_color%}\ %{$fg_bold[white]%}@%{$reset_color%}\ -%{$fg_no_bold[green]%}%m %{$reset_color%}\ +%{$fg_no_bold[green]%}%M %{$reset_color%}\ %{$fg_bold[yellow]%}%1/%{$reset_color%}\ %{$fg_bold[white]%}]$ %{$reset_color%}" fi diff --git a/zsh/prompt_server.zsh b/zsh/prompt_server.zsh index 51ca04e..1fe6b3f 100644 --- a/zsh/prompt_server.zsh +++ b/zsh/prompt_server.zsh @@ -4,7 +4,7 @@ if [[ $EUID == 0 ]]; then PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\ %{$fg_bold[red]%}%n%{$reset_color%}\ %{$fg_bold[white]%}@%{$reset_color%}\ -%{$fg_no_bold[blue]%}%m %{$reset_color%}\ +%{$fg_no_bold[blue]%}%M %{$reset_color%}\ %{$fg_bold[yellow]%}%1/%{$reset_color%}\ %{$fg_bold[white]%}]# %{$reset_color%}" else @@ -12,7 +12,7 @@ else PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\ %{$fg_bold[green]%}%n%{$reset_color%}\ %{$fg_bold[white]%}@%{$reset_color%}\ -%{$fg_no_bold[blue]%}%m %{$reset_color%}\ +%{$fg_no_bold[blue]%}%M %{$reset_color%}\ %{$fg_bold[yellow]%}%1/%{$reset_color%}\ %{$fg_bold[white]%}]$ %{$reset_color%}" fi