summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 52bf841..42dcf30 100644
--- a/etc/rc
+++ b/etc/rc
@@ -3,7 +3,7 @@
## mostly internal stuff
ZDIR=$HOME/packages/zsh/etc
uname=$(uname)
-debian=$(fgrep Debian /proc/version)
+debian=$([ -f /proc/version ] && fgrep Debian /proc/version)
alias 'linux:'='[ $uname = Linux ] &&'
alias 'non-linux:'='[ $uname = Linux ] ||'
alias 'ls-colors:'='which dircolors &> /dev/null &&'