mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-08 15:32:31 +01:00
Refactor to remove prev cmd function and simplify escaping
This commit is contained in:
parent
c5f57da2b8
commit
011d8bdfd1
6 changed files with 20 additions and 48 deletions
|
|
@ -64,6 +64,16 @@ assertSquareBracketsSuggestion() {
|
|||
'echo "$history[123]"'
|
||||
}
|
||||
|
||||
assertHashSuggestion() {
|
||||
set_history <<-'EOF'
|
||||
echo "#yolo"
|
||||
EOF
|
||||
|
||||
assertSuggestion \
|
||||
'echo "#' \
|
||||
'echo "#yolo"'
|
||||
}
|
||||
|
||||
testSpecialCharsForAllStrategies() {
|
||||
local strategies
|
||||
strategies=(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue