.bashrc: We must export variables so children can access them
Child processes like `crontab -e` couldn't see that we wanted to use vim for our editor, as the variable wasn't exported.
This commit is contained in:
parent
c2fca72887
commit
8151b68bf2
4
.bashrc
4
.bashrc
@ -11,8 +11,8 @@ alias less='less -R' # preserves colors in `less`
|
||||
|
||||
# Environment
|
||||
PS1='[\u@\h: \w]\$ '
|
||||
EDITOR=/usr/bin/vim
|
||||
PAGER=/usr/bin/less
|
||||
export EDITOR=/usr/bin/vim
|
||||
export PAGER=/usr/bin/less
|
||||
# Aggressive read/write of history after every command
|
||||
PROMPT_COMMAND='history -a; history -n'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user