Skip to content

Commit 7a7b4c3

Browse files
committed
Use ~/.local/bin instead of ~/bin
1 parent 2a746c0 commit 7a7b4c3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dotfiles/.environment.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ contains() {
22
[ "${1#*$2}" != "$1" ]
33
}
44
`
5-
contains :"$PATH": :"$HOME/bin": || PATH=$HOME/bin:$PATH
5+
contains :"$PATH": :"$HOME/.local/bin": || PATH=$HOME/.local/bin:$PATH
66
export "IDEA_VM_OPTIONS=$HOME/.IdeaIC13/idea$BITS.vmoptions"
77
export "GOPATH=$HOME/src/go"
88
export "XDG_DESKTOP_DIR=$HOME"

install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,12 @@ trap 'exit 1' INT HUP TERM PIPE # dash doesn't call EXIT traps on interrupt etc
157157
my_tempdir=$(mktemp -d) || exit
158158

159159
# Start copying scripts and dotfiles over
160-
_copy_loop() { safecopy "$1" "$HOME/$1"; }
161-
recurse _copy_loop bin
160+
_bin_copy_loop() { safecopy "$1" "$HOME/.local/$1"; }
161+
recurse _bin_copy_loop bin
162162

163163
_dotfiles_copy_loop() { safecopy "$1" "$HOME/${1#*/}"; }
164164
recurse _dotfiles_copy_loop dotfiles
165165

166166
echo 'As always, make sure you have pulled submodules!'
167167
# Install pomfclip
168-
cd pomfclip && ./install.sh
168+
cd pomfclip && ./install.sh "$HOME/.local/bin"

0 commit comments

Comments
 (0)