Add bash config w/ aliases

This commit is contained in:
Hektor Misplon
2020-04-07 20:24:30 +00:00
parent 8efea7b12e
commit 0ba4b9bd52
2 changed files with 37 additions and 0 deletions

17
.bashrc Normal file
View File

@@ -0,0 +1,17 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# load aliases dynamically
[ -f "$HOME/.aliasrc" ] && source "$HOME/.aliasrc"
PS1='\u@\h \W\$ '
# nvm
source /usr/share/nvm/init-nvm.sh
# auto cd on path
shopt -s autocd
# history
export HISTCONTROL=ignoreboth