aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-28 10:23:32 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-28 10:23:32 +1300
commit69eb30cae4f4c8d086fab09bbf78922da6ca5e42 (patch)
tree04b02bb724ef530804c5aec2689786952bb569e6 /sh/profile.d
parentAdd an issue (and a note on a previous one) (diff)
downloaddotfiles-69eb30cae4f4c8d086fab09bbf78922da6ca5e42.tar.gz
dotfiles-69eb30cae4f4c8d086fab09bbf78922da6ca5e42.zip
Put operating system into OS env var
Diffstat (limited to 'sh/profile.d')
-rw-r--r--sh/profile.d/os.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/profile.d/os.sh b/sh/profile.d/os.sh
new file mode 100644
index 00000000..f9d5a79b
--- /dev/null
+++ b/sh/profile.d/os.sh
@@ -0,0 +1,3 @@
+# Store the operating system in an environment variable
+OS=$(uname)
+export OS