From 4a23f68fd1b813b23033431b54a105d98adb7ef6 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Sat, 21 May 2022 15:10:44 +0200 Subject: [PATCH] feat: automatically create ~/.local/bin if needed --- tools.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools.bash b/tools.bash index fa87f57..e69d09b 100644 --- a/tools.bash +++ b/tools.bash @@ -42,6 +42,8 @@ asdf plugin add lsd https://github.com/argylelabcoat/asdf-lsd.git asdf install lsd latest asdf global lsd latest +test -d ~/.local/bin || mkdir -p ~/.local/bin + # broot test -x ~/.local/bin/broot || wget -O ~/.local/bin/broot "https://dystroy.org/broot/download/x86_64-linux/broot"