diff options
author | Tristan Williams <tgwil@tgwil.net> | 2024-10-13 06:43:50 -0400 |
---|---|---|
committer | Tristan Williams <tgwil@tgwil.net> | 2024-10-13 06:43:50 -0400 |
commit | d72b883bcd665ad11d8b3fd7eb7c96e9bca8375e (patch) | |
tree | a24225fe28fbb38b19be1f29bfe76308312af75f /home/.bash_profile | |
parent | .bashrc: Reorder things to be more logical (diff) | |
download | dotfiles.core-d72b883bcd665ad11d8b3fd7eb7c96e9bca8375e.tar.gz dotfiles.core-d72b883bcd665ad11d8b3fd7eb7c96e9bca8375e.tar.bz2 dotfiles.core-d72b883bcd665ad11d8b3fd7eb7c96e9bca8375e.zip |
Move PATH stuff to .bash_profile
Since .bashrc is only executed for interactive shells, PATH should
be loaded in .bash_profile to make it available to scripts.
Diffstat (limited to 'home/.bash_profile')
-rw-r--r-- | home/.bash_profile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/home/.bash_profile b/home/.bash_profile index e10efd5..902315e 100644 --- a/home/.bash_profile +++ b/home/.bash_profile | |||
@@ -9,6 +9,14 @@ | |||
9 | 9 | ||
10 | 10 | ||
11 | ######################################################################## | 11 | ######################################################################## |
12 | ## PATH | ||
13 | ######################################################################## | ||
14 | # ~/bin is used for personal scripts and other executables used only | ||
15 | # by this user. | ||
16 | PATH=$PATH:$HOME/bin | ||
17 | |||
18 | |||
19 | ######################################################################## | ||
12 | ## .bashrc (core) | 20 | ## .bashrc (core) |
13 | ######################################################################## | 21 | ######################################################################## |
14 | if [[ $- == *i* && -f ~/.bashrc ]]; then | 22 | if [[ $- == *i* && -f ~/.bashrc ]]; then |