mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Whoops, meh. doesn't make any difference, but no need for a semicolon at the EOL in a shell script :P
This commit is contained in:
parent
53837a28d4
commit
e948204f3f
1 changed files with 2 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ if (( $+commands[python] )); then
|
||||||
# print(get_lexer_for_filename('$1').aliases[0])
|
# print(get_lexer_for_filename('$1').aliases[0])
|
||||||
#except:
|
#except:
|
||||||
# print('text')" | python
|
# print('text')" | python
|
||||||
echo ${1##*.};
|
echo ${1##*.}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
# if we happen to lack python, just report everything as text
|
# if we happen to lack python, just report everything as text
|
||||||
omz_log_msg "sprunge: syntax highlighting disabled since python isn't available"
|
omz_log_msg "sprunge: syntax highlighting disabled since python isn't available"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue