mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] add zstyle config file
This commit is contained in:
parent
cd3fe95329
commit
8fb79293c8
4 changed files with 12 additions and 1 deletions
|
@ -11,3 +11,7 @@ alias e="$EDITOR"
|
|||
export CLICOLOR=1
|
||||
|
||||
READNULLCMD=cat
|
||||
|
||||
if [[ -z "$LS_COLORS" ]] && command_exists dircolors; then
|
||||
eval "$(dircolors --bourne-shell)"
|
||||
fi
|
||||
|
|
|
@ -60,6 +60,10 @@ plugin completions 'zsh-users/zsh-completions'
|
|||
# command execution time stamp shown in the history
|
||||
HIST_STAMPS=dd.mm.yyyy
|
||||
|
||||
# ls colors are handled by my dotfiles, so disable that part of OMZ to avoid
|
||||
# wasting time
|
||||
DISABLE_LS_COLORS=true
|
||||
|
||||
omz_plugins=(git extract fasd)
|
||||
|
||||
plugin oh-my-zsh 'robbyrussell/oh-my-zsh' \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
ZSH_DOTFILES="${0:h}"
|
||||
|
||||
for script in functions path env plugins aliases zle prompt; do
|
||||
for script in functions path env plugins aliases zstyle zle prompt; do
|
||||
source "$ZSH_DOTFILES/$script.zsh"
|
||||
source_if_exists "$ZSH_DOTFILES/custom/$script.zsh"
|
||||
done
|
||||
|
|
3
zsh/zstyle.zsh
Normal file
3
zsh/zstyle.zsh
Normal file
|
@ -0,0 +1,3 @@
|
|||
if [[ -n "$LS_COLORS" ]]; then
|
||||
zstyle ':completion:*' list-colors "${(@s.:.)LS_COLORS}"
|
||||
fi
|
Loading…
Reference in a new issue