mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Log some errors in plugins
This commit is contained in:
parent
41e06d6630
commit
2836d2c365
3 changed files with 5 additions and 0 deletions
|
|
@ -20,4 +20,6 @@ if (( $+commands[pkgfile] )); then
|
|||
echo "The command \"$1\" can be found in the following packages:"
|
||||
for p in $pkg; echo " $p"
|
||||
}
|
||||
else
|
||||
omz_log_msg "notfound: plugin requires pkgtools"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ except:
|
|||
}
|
||||
else
|
||||
# if we happen to lack python, just report everything as text
|
||||
omz_log_msg "sprunge: syntax highlighting disabled since python isn't available"
|
||||
sprunge_syntax() { echo 'text' }
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -14,4 +14,6 @@ if (( $+commands[tmux] )); then
|
|||
fi
|
||||
}
|
||||
fi
|
||||
else
|
||||
omz_log_mgs "notfound: plugin requires tmux"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue