.bashrc 492 B

1234567891011121314151617181920
  1. #
  2. # ~/.bashrc
  3. #
  4. # If not running interactively, don't do anything
  5. [[ $- != *i* ]] && return
  6. alias ls='ls --color=auto'
  7. alias grep='grep --color=auto'
  8. PS1='[\u@\h \W]\$ '
  9. # things for set nvim as default editor
  10. export NVM_DIR="$HOME/.nvm"
  11. [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
  12. [ -s "$NVM_DIR/bash-completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
  13. export VISUAL=nvim;
  14. export EDITOR=nvim;
  15. # end things for set nvim as default editor