abra zsh config 2.0
This commit is contained in:
13
.zprezto/modules/autosuggestions/external/spec/integrations/rebound_bracket_spec.rb
vendored
Normal file
13
.zprezto/modules/autosuggestions/external/spec/integrations/rebound_bracket_spec.rb
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
describe 'rebinding [' do
|
||||
context 'initialized before sourcing the plugin' do
|
||||
before do
|
||||
session.run_command("function [ { $commands[\\[] \"$@\" }")
|
||||
session.clear_screen
|
||||
end
|
||||
|
||||
it 'executes the custom behavior and the built-in behavior' do
|
||||
session.send_string('asdf')
|
||||
wait_for { session.content }.to eq('asdf')
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user