diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..8dcc962 --- /dev/null +++ b/.bashrc @@ -0,0 +1,16 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +export VISUAL='nvim' +export EDITOR="$VISUAL" + +alias ls='ls --color=auto' +alias grep='grep --color=auto' +alias vim='nvim' +alias note='(cd ~/Notes/ && NVIM_APPNAME=nvim-notes nvim ~/Notes/)' +alias diary='(cd ~/Notes/ && NVIM_APPNAME=nvim-notes nvim ~/Notes/Diary.md)' +PS1='[\u@\h \W]\$ '