Correct errors in bin/install_plugins output
This commit is contained in:
parent
40ba8e58dc
commit
58877eea8d
2 changed files with 3 additions and 2 deletions
|
@ -34,7 +34,7 @@ fi
|
||||||
clone() {
|
clone() {
|
||||||
local plugin="$1"
|
local plugin="$1"
|
||||||
cd "$SHARED_TPM_PATH" &&
|
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:
|
# tries cloning:
|
||||||
|
|
|
@ -57,7 +57,8 @@ reload_tmux_environment() {
|
||||||
plugin_already_installed() {
|
plugin_already_installed() {
|
||||||
local plugin="$1"
|
local plugin="$1"
|
||||||
local plugin_path="$(shared_plugin_path "$plugin")"
|
local plugin_path="$(shared_plugin_path "$plugin")"
|
||||||
cd "$plugin_path" &&
|
[ -d "$plugin_path" ] &&
|
||||||
|
cd "$plugin_path" &&
|
||||||
git remote >/dev/null 2>&1
|
git remote >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue