Mercurial > ec-dotfiles
comparison rc/bashrc @ 497:ffef7605f833
Don't autosync history. It's slow on big history.
| author | edogawaconan <me@myconan.net> |
|---|---|
| date | Mon, 23 Dec 2013 16:21:24 +0900 |
| parents | e3648f0482e5 |
| children | 257ad2cfb965 |
comparison
equal
deleted
inserted
replaced
| 496:6bdf99bfbe97 | 497:ffef7605f833 |
|---|---|
| 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 PROMPT_COMMAND="history -a; history -n" | |
| 57 export HISTFILESIZE=100000 | 56 export HISTFILESIZE=100000 |
| 58 export HISTCONTROL=ignoreboth:erasedups | 57 export HISTCONTROL=ignoreboth:erasedups |
| 59 export HISTSIZE=10000 | 58 export HISTSIZE=10000 |
| 59 hsync() { | |
| 60 printf "%s" "Synchronizing history..." | |
| 61 history -a | |
| 62 history -n | |
| 63 printf "%s\n" done | |
| 64 } | |
| 60 | 65 |
| 61 export PAGER=more | 66 export PAGER=more |
| 62 export EDITOR=vi | 67 export EDITOR=vi |
| 63 export LANG="en_US.UTF-8" | 68 export LANG="en_US.UTF-8" |
| 64 export LC_CTYPE="en_US.UTF-8" | 69 export LC_CTYPE="en_US.UTF-8" |
