From 8151b68bf2e5cf55d665252b5781ef99a1656cc2 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 14 Jun 2013 12:40:28 +0300 Subject: [PATCH] .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. --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index aa89790..50be9de 100644 --- a/.bashrc +++ b/.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'