update check functions
This commit is contained in:
@@ -2,27 +2,27 @@
|
||||
|
||||
function check_zsh_polyjuice() {
|
||||
# check for zsh-autosuggestions
|
||||
if [[ ! -f $ZSH_PLUGINS_PATH/zsh-autosuggestions/zsh-autosuggestions.zsh ]]; then
|
||||
if [[ ! -f $ZSH_POLYJUICE_PLUGINS_PATH/zsh-autosuggestions/zsh-autosuggestions.zsh ]]; then
|
||||
echo "zsh-autosuggestions is not installed."
|
||||
fi
|
||||
|
||||
# check for zsh-syntax-highlighting
|
||||
if [[ ! -f $ZSH_PLUGINS_PATH/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]]; then
|
||||
if [[ ! -f $ZSH_POLYJUICE_PLUGINS_PATH/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]]; then
|
||||
echo "zsh-syntax-highlighting is not installed."
|
||||
fi
|
||||
|
||||
# check for zsh-autocomplete
|
||||
if [[ ! -f $ZSH_PLUGINS_PATH/zsh-autocomplete/zsh-autocomplete.plugin.zsh ]]; then
|
||||
if [[ ! -f $ZSH_POLYJUICE_PLUGINS_PATH/zsh-autocomplete/zsh-autocomplete.plugin.zsh ]]; then
|
||||
echo "zsh-autocomplete is not installed."
|
||||
fi
|
||||
|
||||
# check for fzf-tab
|
||||
if [[ ! -f $ZSH_PLUGINS_PATH/fzf-tab/fzf-tab.zsh ]]; then
|
||||
if [[ ! -f $ZSH_POLYJUICE_PLUGINS_PATH/fzf-tab/fzf-tab.zsh ]]; then
|
||||
echo "fzf-tab is not installed."
|
||||
fi
|
||||
|
||||
# check for oh-my-zsh
|
||||
if [[ ! -d $ZSH_PLUGINS_PATH/ohmyzsh ]]; then
|
||||
if [[ ! -d $ZSH_POLYJUICE_PLUGINS_PATH/ohmyzsh ]]; then
|
||||
echo "oh-my-zsh is not installed."
|
||||
fi
|
||||
|
||||
@@ -45,8 +45,8 @@ function check_zsh_polyjuice() {
|
||||
if (( ! $+commands[python3] )); then
|
||||
echo "python3 is not installed."
|
||||
fi
|
||||
|
||||
echo "Using `install_plugins` function to install missing plugins."
|
||||
|
||||
echo "Using \`install_plugins\` function to install missing plugins."
|
||||
}
|
||||
|
||||
function check_tools() {
|
||||
|
||||
Reference in New Issue
Block a user