mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2026-02-01 23:20:21 +01:00
Handle dashes at the beginning of commands
This commit is contained in:
@@ -51,5 +51,10 @@ describe 'a special character in the buffer' do
|
||||
session.send_string('echo "^A')
|
||||
wait_for { session.content }.to eq('echo "^A"')
|
||||
end
|
||||
|
||||
with_history('-foo() {}') do
|
||||
session.send_string('-')
|
||||
wait_for { session.content }.to eq('-foo() {}')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user