You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

12 lines
341B

  1. # ~/.bashrc: executed by bash(1) for non-login shells.
  2. {{ ansible_managed | comment }}
  3. {% for alias in root_user_aliases %}
  4. alias {{alias.name}}="{{alias.command}}"
  5. {% endfor %}
  6. HISTFILE=/root/.history
  7. shopt -s histappend # append to history, don't overwrite it
  8. export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"