aboutsummaryrefslogtreecommitdiffstats
path: root/home-dots/dot-bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'home-dots/dot-bashrc')
-rw-r--r--home-dots/dot-bashrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/home-dots/dot-bashrc b/home-dots/dot-bashrc
index 95b2c24..6ba76e8 100644
--- a/home-dots/dot-bashrc
+++ b/home-dots/dot-bashrc
@@ -5,6 +5,10 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
+
+HISTSIZE=-1
+HISTFILESIZE=-1
+
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
@@ -52,6 +56,7 @@ function __prompt_command {
PS1+=" ❯${normal} "
}
PROMPT_COMMAND=__prompt_command
+export EDITOR='emacsclient'
# GPG agent with ssh
unset SSH_AGENT_PID
@@ -65,6 +70,3 @@ alias G='grep -i'
alias lar='ls -lahrt'
alias emacs='TERM=xterm-direct emacs'
alias mykeys='setxkbmap -I$HOME/.config/xkb/ oscar -option caps:escape -print | xkbcomp -I$HOME/.config/xkb/ - $DISPLAY'
-
-HISTSIZE=-1
-HISTFILESIZE=-1