clicolor
This commit is contained in:
parent
c787b9b6ab
commit
01afddf496
1 changed files with 2 additions and 6 deletions
|
@ -4,11 +4,7 @@ autoload -U promptinit && promptinit
|
||||||
setopt correct_all
|
setopt correct_all
|
||||||
zstyle ':completion:*' menu select
|
zstyle ':completion:*' menu select
|
||||||
|
|
||||||
if [[ "$OSTYPE" == (darwin|freebsd)* ]]; then
|
export CLICOLOR=1
|
||||||
alias ls='ls -G'
|
|
||||||
elif [[ "$OSTYPE" == linux* ]]; then
|
|
||||||
alias ls='ls --color=tty'
|
|
||||||
fi
|
|
||||||
alias ll='ls -lh'
|
alias ll='ls -lh'
|
||||||
|
|
||||||
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
|
@ -20,4 +16,4 @@ source ~/.zsh/themes/powerlevel10k/powerlevel10k.zsh-theme
|
||||||
FZF_DEFAULT_COMMAND='git ls-files --cached --others --exclude-standard | fd'
|
FZF_DEFAULT_COMMAND='git ls-files --cached --others --exclude-standard | fd'
|
||||||
FZF_DEFAULT_OPTS="-e --height 40% --preview='bat --color=always --tabs=2 --style=plain {}'"
|
FZF_DEFAULT_OPTS="-e --height 40% --preview='bat --color=always --tabs=2 --style=plain {}'"
|
||||||
|
|
||||||
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue