configs/home/.zsh-server/plugins/zsh-autosuggestions/spec/integrations/auto_cd_spec.rb

15 lines
353 B
Ruby
Raw Permalink Normal View History

2023-01-07 21:57:26 +01:00
describe 'with `AUTO_CD` option set' do
let(:after_sourcing) do
-> {
session.run_command('setopt AUTO_CD')
session.run_command('autoload compinit && compinit')
}
end
it 'directory names are still completed' do
session.send_string('sr')
session.send_keys('C-i')
wait_for { session.content }.to eq('src/')
end
end