Fix #168 and #130: Escape tildes when fetching suggestions

This commit is contained in:
Eric Freese committed 2016-06-10 13:51:20 -06:00
1 parent 85ea943789
commit b4b3a82ee3
3 files changed
+9 -2

No files matched your search

+7
View File
@@ -44,6 +44,12 @@ assertTildeSuggestion() {
'cd ~/something'
}
assertTildeSuggestionWithExtendedGlob() {
setopt local_options extended_glob
assertTildeSuggestion
}
assertParenthesesSuggestion() {
set_history <<-'EOF'
echo "$(ls foo)"
@@ -87,6 +93,7 @@ testSpecialCharsForAllStrategies() {
assertBackslashSuggestion
assertDoubleBackslashSuggestion
assertTildeSuggestion
assertTildeSuggestionWithExtendedGlob
assertParenthesesSuggestion
assertSquareBracketsSuggestion
done