diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-28 10:23:32 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-28 10:23:32 +1300 |
commit | 69eb30cae4f4c8d086fab09bbf78922da6ca5e42 (patch) | |
tree | 04b02bb724ef530804c5aec2689786952bb569e6 /sh/profile.d | |
parent | Add an issue (and a note on a previous one) (diff) | |
download | dotfiles-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.sh | 3 |
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 |