aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/.bashrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/home/.bashrc b/home/.bashrc
index 85853e4..78ac39a 100644
--- a/home/.bashrc
+++ b/home/.bashrc
@@ -60,3 +60,13 @@ shopt -s histappend
60# History size 60# History size
61HISTSIZE=100000 #100K 61HISTSIZE=100000 #100K
62HISTFILESIZE=1000000 #1M 62HISTFILESIZE=1000000 #1M
63
64
65########################################################################
66## Editor
67########################################################################
68export EDITOR="nano"
69if id -nG $USER | grep -qw "sudo" -qw; then export SUDO_EDITOR=$EDITOR; fi
70
71export VISUAL="emacsclient -c"
72if id -nG $USER | grep -qw "sudo" -qw; then export SUDO_VISUAL=$VISUAL; fi