diff --git a/plugins/sprunge/sprunge.plugin.zsh b/plugins/sprunge/sprunge.plugin.zsh index bb76207ce..6bca748a7 100644 --- a/plugins/sprunge/sprunge.plugin.zsh +++ b/plugins/sprunge/sprunge.plugin.zsh @@ -24,7 +24,7 @@ if (( $+commands[python] )); then #except: # print('text')" | python echo ${1##*.} - } + } else # if we happen to lack python, just report everything as text omz_log_msg "sprunge: syntax highlighting disabled since python isn't available"