Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

13 行
458B

  1. {%- from "linux/map.jinja" import system with context %}
  2. # History across sessions for Bash
  3. if [ -n "$BASH_VERSION" ]; then
  4. # Avoid duplicates
  5. export HISTCONTROL=ignoredups:erasedups
  6. # When the shell exits, append to the history file instead of overwriting it
  7. shopt -s histappend
  8. # After each command, append to the history file and reread it
  9. export PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r"
  10. fi