From 8b88cb8867197ca5bc352151313d5c1e011ecb75 Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Thu, 17 Dec 2015 13:30:34 -0800 Subject: [PATCH] [ci skip] use pgup/pgdown for history shortcut in dev env --- Vagrantfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index d88fbd0aa..1e627d5bf 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -40,6 +40,14 @@ Vagrant::configure("2") do |config| vm.vm.network :private_network, ip: DOKKU_IP vm.vm.provision :shell, :inline => "export DEBIAN_FRONTEND=noninteractive && apt-get update > /dev/null && apt-get -qq -y install git > /dev/null && cd /root/dokku && #{make_cmd}" vm.vm.provision :shell, :inline => "cd /root/dokku && make dokku-installer" + vm.vm.provision :shell do |s| + s.inline = <<-EOT + echo '"\e[5~": history-search-backward' > /root/.inputrc + echo '"\e[6~": history-search-forward' >> /root/.inputrc + echo 'set show-all-if-ambiguous on' >> /root/.inputrc + echo 'set completion-ignore-case on' >> /root/.inputrc + EOT + end end # For windows users. Sharing folder from windows creates problem with sym links and so, sync the repo instead from GOS.