aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/os.sh
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/os.sh
parent2755e3a2695499cee45228b1e307bc5d68969603 (diff)
downloaddotfiles-69eb30cae4f4c8d086fab09bbf78922da6ca5e42.tar.gz
dotfiles-69eb30cae4f4c8d086fab09bbf78922da6ca5e42.zip
Put operating system into OS env var
Diffstat (limited to 'sh/profile.d/os.sh')
-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