Use -s for functions

This commit is contained in:
Dimitar Dimitrov 2016-10-20 13:12:05 +01:00
parent 52d1929d81
commit 9529aa7020

View File

@ -55,7 +55,7 @@ Formats of language supported:
} }
} }
def spell_replace %{%sh{ def spell-replace %{%sh{
suggestions=$(echo "$kak_selection" | aspell -a | grep '^&' | cut -d: -f2) suggestions=$(echo "$kak_selection" | aspell -a | grep '^&' | cut -d: -f2)
menu=$(echo "${suggestions#?}" | awk -F', ' ' menu=$(echo "${suggestions#?}" | awk -F', ' '
{ {