From 2229f738d010282857424ec9194596690fe338e9 Mon Sep 17 00:00:00 2001 From: Xinqi Bao Date: Sat, 23 Aug 2025 21:36:34 +0800 Subject: [PATCH 1/1] update bashrc with some PATH and others --- .bashrc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.bashrc b/.bashrc index 166fbb8..9a17f51 100644 --- a/.bashrc +++ b/.bashrc @@ -5,6 +5,10 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return +export PATH=${HOME}/.local/opt/node/bin:${PATH} +export PATH=${HOME}/.local/bin:${PATH} +export PATH=${HOME}/tool:${PATH} + alias ls='ls --color=auto' alias ll='ls --color=auto -lhrt' alias vim='nvim' @@ -12,14 +16,15 @@ alias vimdiff='nvim -d' export EDITOR=nvim export BROWSER=firefox -export PATH=$HOME/tool:$PATH -export PS1="[\[\e[36;1m\]\u@\h \[\e[32;1m\]\w\[\e[m\]]\[\e[33m\](\$(git branch 2>/dev/null | grep '^*' | colrm 1 2))\n\[\e[m\]~~~>\$ " export TERM=xterm-256color +export PS1="[\[\e[36;1m\]\u@\h \[\e[32;1m\]\w\[\e[m\]]\[\e[33m\](\$(git branch 2>/dev/null | grep '^*' | colrm 1 2))\n\[\e[m\]~~~>\$ " -ulimit -c unlimited -[ -f ~/.fzf.bash ] && source ~/.fzf.bash +# Set up fzf key bindings and fuzzy completion +eval "$(fzf --bash)" export FZF_CTRL_T_OPTS="--preview 'bat --style=numbers --color=always --line-range :500 {}'" +ulimit -c unlimited + <