summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-04-03 12:54:48 -0400
committerJune McEnroe <june@causal.agency>2018-04-03 12:54:48 -0400
commitfb18fcfaa9be09dffd473b8bd1c44cdb886db1a5 (patch)
tree16a65480c4f15f8a1d432a5d0c498cb6c5915faf /bin
parentHighlight Special as Normal (diff)
downloadsrc-fb18fcfaa9be09dffd473b8bd1c44cdb886db1a5.tar.gz
src-fb18fcfaa9be09dffd473b8bd1c44cdb886db1a5.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.
Diffstat (limited to '')
-rw-r--r--bin/Makefile5
1 files changed, 3 insertions, 2 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/%)