mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
update inputrc for history
This commit is contained in:
parent
b34b1e1d27
commit
ff6115e988
@ -123,3 +123,13 @@
|
|||||||
become: yes
|
become: yes
|
||||||
become_user: root
|
become_user: root
|
||||||
when: ansible_distribution == 'Ubuntu' or ansible_distribution == 'Debian'
|
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
|
Loading…
Reference in New Issue
Block a user