mirror of
https://github.com/tmux-plugins/tpm.git
synced 2024-12-04 18:58:49 +00:00
Correct errors in bin/install_plugins output
This commit is contained in:
parent
40ba8e58dc
commit
58877eea8d
@ -34,7 +34,7 @@ fi
|
||||
clone() {
|
||||
local plugin="$1"
|
||||
cd "$SHARED_TPM_PATH" &&
|
||||
GIT_TERMINAL_PROMPT=0 git clone --recursive $plugin
|
||||
GIT_TERMINAL_PROMPT=0 git clone --recursive "$plugin" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
# tries cloning:
|
||||
|
@ -57,7 +57,8 @@ reload_tmux_environment() {
|
||||
plugin_already_installed() {
|
||||
local plugin="$1"
|
||||
local plugin_path="$(shared_plugin_path "$plugin")"
|
||||
cd "$plugin_path" &&
|
||||
[ -d "$plugin_path" ] &&
|
||||
cd "$plugin_path" &&
|
||||
git remote >/dev/null 2>&1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user