aboutsummaryrefslogtreecommitdiffstats
path: root/_zsh/checks.zsh
blob: 6868e2c9776d168434d4478fbcde0a0d49be56fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# zsh/checks.zsh
#
# Credits: http://zanshin.net/2013/02/02/zsh-configuration-from-the-ground-up/
#

if [[ $(uname) = 'Linux' ]]; then
    IS_LINUX=1
elif [[ $(uname) = 'FreeBSD' ]]; then
    IS_FREEBSD=1
    IS_BSD=1
elif [[ $(uname) = 'DragonFly' ]]; then
    IS_DRAGONFLY=1
    IS_BSD=1
fi

# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: #