X-Git-Url: https://git.xinqibao.xyz/dotfiles.git/blobdiff_plain/659ae7fab748ad1b71068df2b20621f2d1bccb9d..b184a0a36406d54cb356d4b139b0f84594042729:/.bashrc diff --git a/.bashrc b/.bashrc index 1938929..9a17f51 100644 --- a/.bashrc +++ b/.bashrc @@ -5,14 +5,34 @@ # 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' +alias vimdiff='nvim -d' +export EDITOR=nvim +export BROWSER=firefox +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\]~~~>\$ " -export EDITOR=vim +# 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 -export TERM=xterm-256color +<