From ac6b04e61cef3169b5e8aa2fe4014643c993cc2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Thu, 14 Jul 2022 12:16:07 +0200 Subject: bashrc --- home-dots/dot-bashrc | 8 +++++--- 1 file 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 -- cgit v1.2.3