summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index a46ac5a..e9dc21a 100644
--- a/install.sh
+++ b/install.sh
@@ -55,6 +55,24 @@ case "${deps_choice}" in
;;
esac
+if [[ -z $(pacman -Qqs fzf) ]]
+then
+ read -e -p "No fzf found. Install it? (Y/n)" fzf
+ case $fzf in
+ [Yy]) sudo pacman -S fzf
+ ;;
+ esac
+fi
+
+if [[ -z $(pacman -Qqs tmux) ]]
+then
+ read -e -p "No tmux found. Install it? (Y/n)" fzf
+ case $fzf in
+ [Yy]) sudo pacman -S tmux
+ ;;
+ esac
+fi
+
read -e -p "Set installation directory. (Default: $HOME/bin) > " foo
foo=${foo:-$HOME/bin}
case $foo in