aboutsummaryrefslogtreecommitdiffstats
path: root/home-dots
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2022-07-14 12:16:07 +0200
committerÓscar Nájera <hi@oscarnajera.com>2022-07-14 12:16:07 +0200
commitac6b04e61cef3169b5e8aa2fe4014643c993cc2c (patch)
tree1b681e7ab8f7e3fb4e15dbca6219cbddb576308e /home-dots
parent1ebaf850b03d60bf650ba238b492073d1a191db8 (diff)
downloaddotfiles-ac6b04e61cef3169b5e8aa2fe4014643c993cc2c.tar.gz
dotfiles-ac6b04e61cef3169b5e8aa2fe4014643c993cc2c.tar.bz2
dotfiles-ac6b04e61cef3169b5e8aa2fe4014643c993cc2c.zip
bashrc
Diffstat (limited to 'home-dots')
-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