Skip to content

Commit

Permalink
add ~/bin, ~/.local/bin to PATH if they exist ohmyzsh/ohmyzsh@9…
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasLarson committed Feb 25, 2021
1 parent d94cde0 commit 0b2d044
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ export DOTFILES=${HOME}/Dropbox/dotfiles
PATH=$(command -p getconf PATH):${PATH}
[ -d /usr/local/bin ] && PATH=/usr/local/bin:${PATH}

# If you come from Bash you might have to change your PATH.
# export PATH=${HOME}/bin:/usr/local/bin:${PATH}
# set PATH so it includes applicable private `bin`s
[ -d "${HOME}/bin" ] && PATH=${HOME}/bin:${PATH}
[ -d "${HOME}/.local/bin" ] && PATH=${HOME}/.local/bin:${PATH}

# Path to your oh-my-zsh installation.
export ZSH=${HOME}/.oh-my-zsh
Expand Down

0 comments on commit 0b2d044

Please sign in to comment.