zsh: prettier prompt
This commit is contained in:
4
zshrc
4
zshrc
@@ -58,7 +58,7 @@ alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash; sudo
|
|||||||
alias loc="cloc --read-lang-def=/Users/veitheller/.scripts/cloc.txt *"
|
alias loc="cloc --read-lang-def=/Users/veitheller/.scripts/cloc.txt *"
|
||||||
alias ls="ls -a"
|
alias ls="ls -a"
|
||||||
alias pbclear="echo -n '' | pbcopy"
|
alias pbclear="echo -n '' | pbcopy"
|
||||||
PROMPT="%{$fg[red]%}%n%{$reset_color%} at %{$fg[green]%}%m%{$reset_color%}"$'\n'"=> "
|
PROMPT="%{$fg[red]%}%n%{$reset_color%}@%{$fg[green]%}%m%{$reset_color%}"$'\n'"⇒ "
|
||||||
|
|
||||||
expand-or-complete-with-dots(){
|
expand-or-complete-with-dots(){
|
||||||
echo -n "e[31m.....\e[0m"
|
echo -n "e[31m.....\e[0m"
|
||||||
@@ -109,7 +109,7 @@ function rprompt-git-current-branch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
RPROMPT='`rprompt-git-current-branch`'
|
RPROMPT='`rprompt-git-current-branch`'
|
||||||
RPROMPT+="%{$reset_color%}in %{$fg[yellow]%}%~%{$reset_color%}"
|
RPROMPT+="%{$reset_color%}∈ %{$fg[yellow]%}%~%{$reset_color%}"
|
||||||
|
|
||||||
save_dotfiles(){
|
save_dotfiles(){
|
||||||
local DOTPATH=~/Documents/Code/Github/.dotfiles/
|
local DOTPATH=~/Documents/Code/Github/.dotfiles/
|
||||||
|
Reference in New Issue
Block a user