mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
zshrc: fix mysterious error that happens when nothing is wrong
This commit is contained in:
parent
0919eab0d2
commit
6935c8a7f1
4
zshrc
4
zshrc
@ -231,7 +231,7 @@ alias theme="prompt "
|
||||
## -- Start of aliases which are saved from Ubuntu default bashrc. --
|
||||
|
||||
# enable color support of ls and also add handy aliases
|
||||
if [[ $UNAME != Darwin ]]; then
|
||||
if [[ $UNAME != Darwin ]]; then
|
||||
alias ls='ls --color=always'
|
||||
fi
|
||||
alias dir='dir --color=always'
|
||||
@ -240,7 +240,7 @@ alias grep='grep --color=always'
|
||||
alias fgrep='fgrep --color=always'
|
||||
alias egrep='egrep --color=always'
|
||||
# some more ls aliases
|
||||
if [[ $UNAME != Darwin ]]; then
|
||||
if [[ "$UNAME" != "Darwin" ]]; then
|
||||
alias ll='ls -alF --color=always' && alias la='ls -A --color=always' && alias l='ls -CF --color=always'
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user