summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-03-12 22:24:57 +0000
committerJune McEnroe <programble@gmail.com>2017-03-12 22:24:57 +0000
commit589c9ae45d4281ebc97fc6a3e3c4563705d81acf (patch)
tree7cbb94974d4c7107c7733d9c10bd4e4d74e04b00
parentUse Escape and i to enter/exit tmux copy mode (diff)
downloadsrc-589c9ae45d4281ebc97fc6a3e3c4563705d81acf.tar.gz
src-589c9ae45d4281ebc97fc6a3e3c4563705d81acf.zip
Fix OSTYPE check for ARM
OSTYPE is linux-gnueabihf.
Diffstat (limited to '')
-rw-r--r--.zshrc2
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'