Skip to content

Commit

Permalink
tiny cleanup in bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
PalaceChan authored and PalaceChan committed Dec 11, 2024
1 parent 53e1705 commit a2525ab
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .bashrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Functions

function ff()
{
local dir="${2:-.}"
Expand Down Expand Up @@ -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'
Expand All @@ -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'

0 comments on commit a2525ab

Please sign in to comment.