ls colorscheme (default)
This commit is contained in:
parent
3a40e8c724
commit
34bb6efee7
10
zsh/colors
10
zsh/colors
@ -1,9 +1,8 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
# get the branch :)
|
# ls colors
|
||||||
parse_git_branch(){
|
alias ls='ls --color=auto';
|
||||||
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \[\1\]/'
|
|
||||||
}
|
|
||||||
|
|
||||||
# zsh prompt
|
# zsh prompt
|
||||||
COFFEE="☕";
|
COFFEE="☕";
|
||||||
@ -15,6 +14,9 @@ SEPARATOR='%b%F{red}::';
|
|||||||
|
|
||||||
DIRECTORY='%B%F{yellow}%6~';
|
DIRECTORY='%B%F{yellow}%6~';
|
||||||
|
|
||||||
|
function parse_git_branch(){
|
||||||
|
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \[\1\]/'
|
||||||
|
}
|
||||||
GIT_BRANCH='%B%F{cyan}$(parse_git_branch)';
|
GIT_BRANCH='%B%F{cyan}$(parse_git_branch)';
|
||||||
|
|
||||||
PROMPT=$'\n'' %B%F{128}%# %b%f'
|
PROMPT=$'\n'' %B%F{128}%# %b%f'
|
||||||
|
Loading…
Reference in New Issue
Block a user