2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-24 23:48:24 +00:00

Merge pull request #306 from vjFaLk/inputrc

update inputrc for history
This commit is contained in:
Rushabh Mehta 2016-08-22 16:03:26 +05:30 committed by GitHub
commit 0c19d012b6

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