comparison rc/bash @ 283:108e05eb9b5c

Not just append but also read.
author Edho Arief <edho@myconan.net>
date Sun, 25 Dec 2011 00:50:31 +0700
parents 9d5247df20e9
children dd2ddddf00d5
comparison
equal deleted inserted replaced
282:9d5247df20e9 283:108e05eb9b5c
15 15
16 _org_path="${PATH}" 16 _org_path="${PATH}"
17 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 17 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
18 18
19 shopt -s histappend 19 shopt -s histappend
20 PROMPT_COMMAND="history -a" 20 PROMPT_COMMAND="history -a; history -n"
21 export HISTFILESIZE=10000 21 export HISTFILESIZE=10000
22 export HISTCONTROL=ignoredups 22 export HISTCONTROL=ignoredups
23 23
24 export PAGER="more" 24 export PAGER="more"
25 export EDITOR="vi" 25 export EDITOR="vi"