.zshrc: Fix regex for Linux test
On GNU/Linux $OSTYPE returns "linux-gnu". Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
74ad228591
commit
362500e8a5
2
.zshrc
2
.zshrc
@ -42,7 +42,7 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
|
|||||||
alias sed='gsed'
|
alias sed='gsed'
|
||||||
alias dircolors='gdircolors'
|
alias dircolors='gdircolors'
|
||||||
|
|
||||||
elif [[ "$OSTYPE" =~ ^linux*$ ]]; then
|
elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
||||||
# aliases
|
# aliases
|
||||||
alias ls='ls -F --color=auto'
|
alias ls='ls -F --color=auto'
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user