diff options
author | Sergey Nazaryev <sergey@nazaryev.ru> | 2018-08-20 19:37:06 +0300 |
---|---|---|
committer | Sergey Nazaryev <sergey@nazaryev.ru> | 2018-08-20 19:37:06 +0300 |
commit | 81e953c10c22a59ed226ae9c3daaa84b239715b6 (patch) | |
tree | 9e1389d4135d00c6d2a6512246dc0322e0a1fbf2 | |
parent | 215989f6c48cd3c1c972badc9a976e22e8d2a0b4 (diff) | |
download | dotfiles-81e953c10c22a59ed226ae9c3daaa84b239715b6.zip dotfiles-81e953c10c22a59ed226ae9c3daaa84b239715b6.tar.gz dotfiles-81e953c10c22a59ed226ae9c3daaa84b239715b6.tar.bz2 |
Бесконечная история для bash'а
-rw-r--r-- | bash_history | 7 | ||||
-rwxr-xr-x | install.sh | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/bash_history b/bash_history new file mode 100644 index 0000000..156aeac --- /dev/null +++ b/bash_history @@ -0,0 +1,7 @@ +#!/bin/bash + +shopt -s histappend +PROMPT_COMMAND="history -a;$PROMPT_COMMAND" +HISTSIZE=-1 +HISTFILESIZE=-1 +export HISTSIZE HISTFILESIZE @@ -177,6 +177,10 @@ install_dotfile "bash" \ "$HOME/.bash_profile" install_dotfile "bash" \ + "$dotfilesdir/bash_history" \ + "$HOME/.bashrc.d/01-bash_history" + +install_dotfile "bash" \ "$dotfilesdir/bash_env" \ "$HOME/.bashrc.d/02-bash_env" |