mirror of
https://github.com/arcan1s/dotfiles.git
synced 2025-04-25 00:17:17 +00:00
change prompt
This commit is contained in:
parent
a989aaeb54
commit
ccc533cae3
12
yaourtrc
12
yaourtrc
@ -6,15 +6,16 @@
|
|||||||
|
|
||||||
# General
|
# General
|
||||||
#AUTOSAVEBACKUPFILE=0
|
#AUTOSAVEBACKUPFILE=0
|
||||||
#DEVELSRCDIR=""
|
|
||||||
#DEVEL=0
|
#DEVEL=0
|
||||||
#VISUAL="$VISUAL"
|
#DEVELSRCDIR=""
|
||||||
#EDITOR="$EDITOR"
|
|
||||||
#FORCEENGLISH=0
|
|
||||||
#FORCE=0
|
#FORCE=0
|
||||||
#TMPDIR="/tmp"
|
|
||||||
#NO_TESTDB=0
|
#NO_TESTDB=0
|
||||||
|
|
||||||
|
# Environment variables
|
||||||
|
#EDITOR="$EDITOR"
|
||||||
|
#TMPDIR="/tmp"
|
||||||
|
#VISUAL="$VISUAL"
|
||||||
|
|
||||||
# SUDO
|
# SUDO
|
||||||
SUDONOVERIF=1 # Avoid multiple sudo checks when timestamp_timeout=0
|
SUDONOVERIF=1 # Avoid multiple sudo checks when timestamp_timeout=0
|
||||||
#SUDOREDIRECT=1 # Define to 0 in case you use a fingerprint device
|
#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
|
#AURCOMMENT=5
|
||||||
#AURDEVELONLY=0
|
#AURDEVELONLY=0
|
||||||
#AURSEARCH=1
|
#AURSEARCH=1
|
||||||
|
#AURSHOWDIFF=0
|
||||||
#AURUPGRADE=0
|
#AURUPGRADE=0
|
||||||
#AURVOTE=1
|
#AURVOTE=1
|
||||||
#AURUSEGIT=0
|
#AURUSEGIT=0
|
||||||
|
@ -4,7 +4,7 @@ if [[ $EUID == 0 ]]; then
|
|||||||
PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\
|
PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\
|
||||||
%{$fg_bold[red]%}%n%{$reset_color%}\
|
%{$fg_bold[red]%}%n%{$reset_color%}\
|
||||||
%{$fg_bold[white]%}@%{$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[yellow]%}%1/%{$reset_color%}\
|
||||||
%{$fg_bold[white]%}]# %{$reset_color%}"
|
%{$fg_bold[white]%}]# %{$reset_color%}"
|
||||||
else
|
else
|
||||||
@ -12,7 +12,7 @@ else
|
|||||||
PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\
|
PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\
|
||||||
%{$fg_bold[green]%}%n%{$reset_color%}\
|
%{$fg_bold[green]%}%n%{$reset_color%}\
|
||||||
%{$fg_bold[white]%}@%{$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[yellow]%}%1/%{$reset_color%}\
|
||||||
%{$fg_bold[white]%}]$ %{$reset_color%}"
|
%{$fg_bold[white]%}]$ %{$reset_color%}"
|
||||||
fi
|
fi
|
||||||
|
@ -4,7 +4,7 @@ if [[ $EUID == 0 ]]; then
|
|||||||
PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\
|
PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\
|
||||||
%{$fg_bold[red]%}%n%{$reset_color%}\
|
%{$fg_bold[red]%}%n%{$reset_color%}\
|
||||||
%{$fg_bold[white]%}@%{$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[yellow]%}%1/%{$reset_color%}\
|
||||||
%{$fg_bold[white]%}]# %{$reset_color%}"
|
%{$fg_bold[white]%}]# %{$reset_color%}"
|
||||||
else
|
else
|
||||||
@ -12,7 +12,7 @@ else
|
|||||||
PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\
|
PROMPT="%{$fg_bold[white]%}[%{$reset_color%}\
|
||||||
%{$fg_bold[green]%}%n%{$reset_color%}\
|
%{$fg_bold[green]%}%n%{$reset_color%}\
|
||||||
%{$fg_bold[white]%}@%{$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[yellow]%}%1/%{$reset_color%}\
|
||||||
%{$fg_bold[white]%}]$ %{$reset_color%}"
|
%{$fg_bold[white]%}]$ %{$reset_color%}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user