From e948204f3f6d1a2f6a8cc837544e960d81e907b3 Mon Sep 17 00:00:00 2001 From: ArcheyDevil Date: Tue, 10 Apr 2012 13:40:47 +1000 Subject: [PATCH] Whoops, meh. doesn't make any difference, but no need for a semicolon at the EOL in a shell script :P --- plugins/sprunge/sprunge.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/sprunge/sprunge.plugin.zsh b/plugins/sprunge/sprunge.plugin.zsh index b71251fa8..bb76207ce 100644 --- a/plugins/sprunge/sprunge.plugin.zsh +++ b/plugins/sprunge/sprunge.plugin.zsh @@ -23,8 +23,8 @@ if (( $+commands[python] )); then # print(get_lexer_for_filename('$1').aliases[0]) #except: # print('text')" | python - echo ${1##*.}; - } + 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"