X-Git-Url: https://git.xinqibao.xyz/dotfiles.git/blobdiff_plain/ac28254900b930f3ceb311bca5dfb78c9e222899..31c7165b0830fb690d133d7d6bced251775ecf94:/.bashrc diff --git a/.bashrc b/.bashrc index e32561d..21c7671 100644 --- a/.bashrc +++ b/.bashrc @@ -7,9 +7,15 @@ alias ls='ls --color=auto' alias ll='ls --color=auto -lhrt' +alias vim='nvim' +alias vimdiff='nvim -d' +export EDITOR=nvim +export PATH=$HOME/tool:$HOME/lib/grpc/bin:$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 EDITOR=vim +ulimit -c unlimited +[ -f ~/.fzf.bash ] && source ~/.fzf.bash +export FZF_CTRL_T_OPTS="--preview 'bat --style=numbers --color=always --line-range :500 {}'" -export TERM=xterm-256color