We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca8f097 commit ea09a76Copy full SHA for ea09a76
install.sh
@@ -7,7 +7,7 @@ fi
7
8
echo -e "\033[32m➤ Installing! \033[0m"
9
10
-hash git >/dev/null 2>&1 \
+command -v git >/dev/null 2>&1 \
11
&& echo -e "\033[32m ✔ Found ❰ Git ❱ \033[0m" \
12
|| {
13
echo -e "\033[31m ✘ Missing ❰ Git ❱ \033[0m"
@@ -20,7 +20,7 @@ if [ -d ~/.tmux/plugins/tpm ]; then
20
else
21
echo -e " ➤ Installing ❰ tpm ❱ \033[0m"
22
23
- hash git >/dev/null 2>&1 && \
+ command -v git >/dev/null 2>&1 && \
24
env git clone https://github.com/tmux-plugins/tpm.git ~/.tmux/plugins/tpm >/dev/null 2>&1
25
26
echo -e "\033[32m ✔ Installed ❰ tpm ❱ \033[0m"
0 commit comments