5 # If not running interactively, don't do anything
 
   6 [[ $- != *i* ]] && return
 
   8 alias ls='ls --color=auto'
 
   9 alias ll='ls --color=auto -lhrt'
 
  11 alias vimdiff='nvim -d'
 
  14 export BROWSER=firefox
 
  15 export PATH=$HOME/tool:$PATH
 
  16 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\]~~~>\$ "
 
  17 export TERM=xterm-256color
 
  20 [ -f ~/.fzf.bash ] && source ~/.fzf.bash
 
  21 export FZF_CTRL_T_OPTS="--preview 'bat --style=numbers --color=always --line-range :500 {}'"
 
  24 export proxy_url=http://localhost:1080
 
  25 export http_proxy=$proxy_url
 
  26 export https_proxy=$proxy_url
 
  27 export HTTP_PROXY=$proxy_url
 
  28 export HTTPS_PROXY=$proxy_url
 
  31 if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then