diff options
author | June McEnroe <june@causal.agency> | 2017-03-12 22:24:57 +0000 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2017-03-12 22:24:57 +0000 |
commit | 96b454736dcf5d15913c15de653d0a51685264a3 (patch) | |
tree | 3b14dc2feab37290d00907ce10f1f8ba0e9ed244 /.zshrc | |
parent | Use Escape and i to enter/exit tmux copy mode (diff) | |
download | src-96b454736dcf5d15913c15de653d0a51685264a3.tar.gz src-96b454736dcf5d15913c15de653d0a51685264a3.zip |
Fix OSTYPE check for ARM
OSTYPE is linux-gnueabihf.
Diffstat (limited to '')
-rw-r--r-- | .zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc index e31028d6..63c69a1d 100644 --- a/.zshrc +++ b/.zshrc @@ -24,7 +24,7 @@ type nvim > /dev/null \ export GPG_TTY=$TTY export CLICOLOR=1 -[ "$OSTYPE" = 'linux-gnu' ] \ +[[ "$OSTYPE" =~ 'linux-gnu' ]] \ && alias ls='ls --color=auto' grep='grep --color' rm='rm -I' alias gs='git status --short --branch' gd='git diff' |