X-Git-Url: https://git.xinqibao.xyz/dotfiles.git/blobdiff_plain/875c81c3638e1b2218d8b3b6fbd5494cbe5b1a5f..a5b430b863e4f060c3d798757b91f94c2d91d35a:/.bashrc?ds=inline diff --git a/.bashrc b/.bashrc index d837918..8d5b0cb 100644 --- a/.bashrc +++ b/.bashrc @@ -6,9 +6,16 @@ [[ $- != *i* ]] && return 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:$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