mirror of
https://github.com/arcan1s/dotfiles.git
synced 2025-04-24 16:07:17 +00:00
change prompt
This commit is contained in:
parent
a989aaeb54
commit
ccc533cae3
12
yaourtrc
12
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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user