2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-10 00:37:51 +00:00

update inputrc for history

This commit is contained in:
Valmik Jangla 2016-08-22 16:02:16 +05:30
parent b34b1e1d27
commit ff6115e988

View File

@ -123,3 +123,13 @@
become: yes
become_user: root
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'Debian'
- name: insert/update inputrc for history
blockinfile:
dest: "/home/{{ ansible_user_id }}/.inputrc"
create: yes
block: |
## arrow up
"\e[A":history-search-backward
## arrow down
"\e[B":history-search-forward