1234567891011121314151617181920 |
- #
- # ~/.bashrc
- #
- # If not running interactively, don't do anything
- [[ $- != *i* ]] && return
- alias ls='ls --color=auto'
- alias grep='grep --color=auto'
- PS1='[\u@\h \W]\$ '
- # things for set nvim as default editor
- export NVM_DIR="$HOME/.nvm"
- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
- [ -s "$NVM_DIR/bash-completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
- export VISUAL=nvim;
- export EDITOR=nvim;
- # end things for set nvim as default editor
|