mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
zero-system: update zshrc to protect dircolors
This commit is contained in:
parent
fbda372bea
commit
7e61198b18
1 changed files with 3 additions and 1 deletions
|
|
@ -26,7 +26,9 @@ HISTFILE=~/.zsh_history
|
|||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
|
||||
eval $(dircolors -b /etc/DIR_COLORS)
|
||||
if [ -f '/etc/DIR_COLORS' ] && [ -x "$(command -v dircolors)" ]; then
|
||||
eval $(dircolors -b /etc/DIR_COLORS)
|
||||
fi
|
||||
|
||||
alias mv='nocorrect mv'
|
||||
alias cp='nocorrect cp'
|
||||
|
|
|
|||
Loading…
Reference in a new issue