diff options
Diffstat (limited to 'home/.bashrc')
-rw-r--r-- | home/.bashrc | 10 |
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 |
61 | HISTSIZE=100000 #100K | 61 | HISTSIZE=100000 #100K |
62 | HISTFILESIZE=1000000 #1M | 62 | HISTFILESIZE=1000000 #1M |
63 | |||
64 | |||
65 | ######################################################################## | ||
66 | ## Editor | ||
67 | ######################################################################## | ||
68 | export EDITOR="nano" | ||
69 | if id -nG $USER | grep -qw "sudo" -qw; then export SUDO_EDITOR=$EDITOR; fi | ||
70 | |||
71 | export VISUAL="emacsclient -c" | ||
72 | if id -nG $USER | grep -qw "sudo" -qw; then export SUDO_VISUAL=$VISUAL; fi | ||