From a2525abb39a4f9a903f6de93cf66326ca9e461d7 Mon Sep 17 00:00:00 2001 From: PalaceChan Date: Tue, 10 Dec 2024 21:32:41 -0500 Subject: [PATCH] tiny cleanup in bashrc --- .bashrc | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.bashrc b/.bashrc index f53ec19..a52ee63 100644 --- a/.bashrc +++ b/.bashrc @@ -1,5 +1,4 @@ # Functions - function ff() { local dir="${2:-.}" @@ -42,8 +41,7 @@ function vterm_prompt_end() vterm_printf "51;A$(whoami)@$(hostname):$(pwd)" } -# Aliases coca rata - +# Aliases alias e='/usr/bin/emacsclient -n' alias ew='/usr/bin/emacs -Q -nw' alias hist='cat ~/history/history.txt' @@ -62,17 +60,12 @@ else fi # Env - -export PS1='\h: ' -PS1=$PS1'\[$(vterm_prompt_end)\]' - +export PS1='\h: \[$(vterm_prompt_end)\]' export LESS='-iMFXR' #cat if fits - export R_HISTFILE="~/.Rhistory" export HISTSIZE= export HISTFILESIZE= export HISTTIMEFORMAT='%Y%m%d %T ' export HISTFILE=~/.bash_eternal_history - export PROMPT_COMMAND='history -a; history 1 | ~/history/dump_history.sh'