diff options
-rw-r--r-- | .bash_profile | 7 | ||||
-rw-r--r-- | README.md | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/.bash_profile b/.bash_profile index 663e201..505d6d4 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,6 +1,9 @@ +# Add `~/bin` to the `$PATH` +export PATH="$HOME/bin:$PATH" + # Load the shell dotfiles, and then some: -# * ~/.path can be used to set or extend `$PATH`. -# * ~/.extra can be used for settings you don’t want to commit. +# * ~/.path can be used to extend `$PATH`. +# * ~/.extra can be used for other settings you don’t want to commit. for file in ~/.{path,bash_prompt,exports,aliases,functions,extra}; do [ -r "$file" ] && source "$file" done @@ -36,10 +36,10 @@ To update later on, just run that command again. If `~/.path` exists, it will be sourced along with the other files, before any feature testing (such as [detecting which version of `ls` is being used](https://github.com/mathiasbynens/dotfiles/blob/aff769fd75225d8f2e481185a71d5e05b76002dc/.aliases#L21-26)) takes place. -Here’s an example `~/.path` file that adds `~/bin` to the `$PATH`: +Here’s an example `~/.path` file that adds `~/utils` to the `$PATH`: ```bash -export PATH="$HOME/bin:$PATH" +export PATH="$HOME/utils:$PATH" ``` ### Add custom commands without creating a new fork |