Skip to content

Commit

Permalink
fix .local/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
biocoderh committed Oct 6, 2023
1 parent e56e72a commit a33250f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ export SAVEHIST=10000
export HISTFILE="${XDG_STATE_HOME:-$HOME/.local/state}/history"

[ -z "$PATH_ORIG" ] && export PATH_ORIG="$PATH"
export PATH="$PATH_ORIG:$HOME/.local/bin"
export PATH="$PATH_ORIG"

[ -d "$HOME/.local/bin" ] && export PATH="$PATH:$HOME/.local/bin"
[ -f "$HOME/.scripts/env" ] && . "$HOME/.scripts/env"

if [ -x "$(command -v nvim)" ]; then
Expand Down
4 changes: 3 additions & 1 deletion .scripts/common/dotfiles-install
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ fi

dotfiles config status.showUntrackedFiles no

[ -d "$HOME/.local/bin" ] && chmod +x -R "$HOME/.local/bin"
[ -d "$HOME/.scripts" ] && chmod +x -R "$HOME/.scripts"

[ -f "$HOME/.profile" ] && . "$HOME/.profile"
chmod +x -R "$HOME/.local/bin" "$HOME/.scripts"

cat << EOF
dotfiles-install done.
Expand Down

0 comments on commit a33250f

Please sign in to comment.