Tweaks
This commit is contained in:
@@ -16,8 +16,8 @@ HISTCONTROL=ignoreboth
|
||||
shopt -s histappend
|
||||
|
||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||
HISTSIZE=1000
|
||||
HISTFILESIZE=2000
|
||||
HISTSIZE=100000
|
||||
HISTFILESIZE=200000
|
||||
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
@@ -288,3 +288,6 @@ alias apt="sudo apt"
|
||||
export PS1='\e[0;35m\t \e[0;32m\u@\h:\w\e[m\n\$ '
|
||||
figlet `hostname`
|
||||
|
||||
bind '"\e[A": history-search-backward'
|
||||
bind '"\e[B": history-search-forward'
|
||||
|
||||
|
||||
@@ -56,3 +56,18 @@
|
||||
path: /etc/update-motd.d/10-help-text
|
||||
mode: 644
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
|
||||
- name: Check for OMB
|
||||
stat:
|
||||
path: "{{ ansible_user_dir }}/.oh-my-bash"
|
||||
register: omb_flag_root
|
||||
|
||||
- debug:
|
||||
msg: 'OMB is not installed for root'
|
||||
when: not omb_flag_root.stat.exists
|
||||
|
||||
- name: Put simple bashrc config
|
||||
template:
|
||||
src: files/bashrc
|
||||
dest: "/root/.bashrc"
|
||||
when: not omb_flag_root.stat.exists
|
||||
|
||||
Reference in New Issue
Block a user