diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-02-11 16:24:14 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-02-11 16:24:14 -0600 |
commit | 17fa2c0a74f0129c622f38879dac9f7d2e3a4aa0 (patch) | |
tree | 90f3bd4ddadaf982b0dfb8665ae04bf6982b3c8a /sheldon/.config/profile.d/20-sheldon.sh | |
parent | 63393e63d474b9197d484edaa2d82c02aa865aa1 (diff) |
feat: split `.zshrc` to individual files
split `$XDG_CONFIG_HOME/zsh/.zshrc` up into
`$XDG_CONFIG_HOME/zsh/.zshrc.d/*`. This allows for better management
and prioritization between different tool's env. Similar to what was
done to `.profile` in e712243 (feat: split `.profile` to individual
files, 2023-02-10).
Diffstat (limited to 'sheldon/.config/profile.d/20-sheldon.sh')
-rw-r--r-- | sheldon/.config/profile.d/20-sheldon.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sheldon/.config/profile.d/20-sheldon.sh b/sheldon/.config/profile.d/20-sheldon.sh new file mode 100644 index 0000000..bc0e4f5 --- /dev/null +++ b/sheldon/.config/profile.d/20-sheldon.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +SHELDON_PROFILE="$(uname -r 2>/dev/null | rev | cut -d- -f1 | rev)" +export SHELDON_PROFILE |