aboutsummaryrefslogtreecommitdiffstats
path: root/roles/users/files/root/bashrc
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-09-30 21:25:28 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-09-30 21:30:53 +0200
commita39fb817e87d053f82e06305b4a737d40c483ee3 (patch)
tree595e7297f2f7a565e3e5786255e17d4815eab486 /roles/users/files/root/bashrc
parenta34e4d1dfe1b6990824051fde40e9288c8cdfd5d (diff)
downloadlabitat-ansible-a39fb817e87d053f82e06305b4a737d40c483ee3.tar.gz
labitat-ansible-a39fb817e87d053f82e06305b4a737d40c483ee3.tar.xz
labitat-ansible-a39fb817e87d053f82e06305b4a737d40c483ee3.zip
users: root: let each user have their own root bashrc
Diffstat (limited to 'roles/users/files/root/bashrc')
-rw-r--r--roles/users/files/root/bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/users/files/root/bashrc b/roles/users/files/root/bashrc
new file mode 100644
index 0000000..f380bc8
--- /dev/null
+++ b/roles/users/files/root/bashrc
@@ -0,0 +1,4 @@
+# if not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+stty -ixon