diff options
author | June McEnroe <programble@gmail.com> | 2018-04-03 12:54:48 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2018-04-03 12:54:48 -0400 |
commit | e9834a80ca32c65c8341558ce73c46ff5319e628 (patch) | |
tree | c82533852a3b00658cdb8813422abdc0c70bff5c | |
parent | Highlight Special as Normal (diff) | |
download | src-e9834a80ca32c65c8341558ce73c46ff5319e628.tar.gz src-e9834a80ca32c65c8341558ce73c46ff5319e628.zip |
Move home bins to ~/.local/bin
Also replaced ~/.cargo/bin with a symlink to ~/.local/bin to avoid having to have that in $path as well.
-rw-r--r-- | bin/Makefile | 5 | ||||
-rwxr-xr-x | home/.local/bin/sup (renamed from home/.bin/sup) | 0 | ||||
-rwxr-xr-x | home/.local/bin/tup (renamed from home/.bin/tup) | 0 | ||||
-rwxr-xr-x | home/.local/bin/up (renamed from home/.bin/up) | 0 | ||||
-rw-r--r-- | home/.zshrc | 2 |
5 files changed, 4 insertions, 3 deletions
diff --git a/bin/Makefile b/bin/Makefile index e7c2712a..bbcc8c4b 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -41,7 +41,8 @@ clean: rm -f tags *.o gfx/*.o $(ALL_BINS) link: - ln -s -f $(ALL_BINS:%=$(PWD)/%) ~/.bin + mkdir -p ~/.local/bin + ln -s -f $(ALL_BINS:%=$(PWD)/%) ~/.local/bin unlink: - rm -f $(ALL_BINS:%=~/.bin/%) + rm -f $(ALL_BINS:%=~/.local/bin/%) diff --git a/home/.bin/sup b/home/.local/bin/sup index 22f2b85e..22f2b85e 100755 --- a/home/.bin/sup +++ b/home/.local/bin/sup diff --git a/home/.bin/tup b/home/.local/bin/tup index 29af9b0a..29af9b0a 100755 --- a/home/.bin/tup +++ b/home/.local/bin/tup diff --git a/home/.bin/up b/home/.local/bin/up index 43b1929b..43b1929b 100755 --- a/home/.bin/up +++ b/home/.local/bin/up diff --git a/home/.zshrc b/home/.zshrc index e0ddcf5e..3c1f51dc 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -10,7 +10,7 @@ bindkey -v KEYTIMEOUT=1 OLDPATH=$PATH -path=({,/usr/local,/usr}/{s,}bin ~/.bin ~/.cargo/bin) +path=({,/usr/local,/usr,~/.local}/{s,}bin) export PAGER=less MANPAGER=less EDITOR=vim GIT_EDITOR=vim type nvim > /dev/null \ |