Mercurial > ec-dotfiles
comparison rc/bashrc @ 498:257ad2cfb965
No need to export HIST* options.
| author | edogawaconan <me@myconan.net> |
|---|---|
| date | Mon, 23 Dec 2013 17:12:10 +0900 |
| parents | ffef7605f833 |
| children | 3979f3a55d0a |
comparison
equal
deleted
inserted
replaced
| 497:ffef7605f833 | 498:257ad2cfb965 |
|---|---|
| 51 | 51 |
| 52 # Nuke aliases | 52 # Nuke aliases |
| 53 unalias -a | 53 unalias -a |
| 54 | 54 |
| 55 shopt -s histappend | 55 shopt -s histappend |
| 56 export HISTFILESIZE=100000 | 56 HISTFILESIZE=10000 |
| 57 export HISTCONTROL=ignoreboth:erasedups | 57 HISTCONTROL=ignoreboth:erasedups |
| 58 export HISTSIZE=10000 | 58 HISTSIZE=10000 |
| 59 hsync() { | 59 hsync() { |
| 60 printf "%s" "Synchronizing history..." | 60 printf "%s" "Synchronizing history..." |
| 61 history -a | 61 history -a |
| 62 history -n | 62 history -n |
| 63 printf "%s\n" done | 63 printf "%s\n" done |
