Adds bashrc

This commit is contained in:
Michel 2024-11-18 22:55:55 +01:00
parent 9e5c264bd8
commit 29ff43b725

16
.bashrc Normal file
View file

@ -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]\$ '