comparison .zfun/zsh-autosuggestions/spec/integrations/rebound_bracket_spec.rb @ 467:e1ce8897030d

zsh: import df6f6f9ff41 of zsh-autosuggestions
author Augie Fackler <raf@durin42.com>
date Mon, 03 Dec 2018 22:37:29 -0500
parents
children
comparison
equal deleted inserted replaced
466:f248cf012d9a 467:e1ce8897030d
1 describe 'rebinding [' do
2 context 'initialized before sourcing the plugin' do
3 before do
4 session.run_command("function [ { $commands[\\[] \"$@\" }")
5 session.clear_screen
6 end
7
8 it 'executes the custom behavior and the built-in behavior' do
9 session.send_string('asdf')
10 wait_for { session.content }.to eq('asdf')
11 end
12 end
13 end