From 29ff43b72514f613efa2e2f5345630160f6b533a Mon Sep 17 00:00:00 2001 From: Michel Date: Mon, 18 Nov 2024 22:55:55 +0100 Subject: [PATCH] Adds bashrc --- .bashrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .bashrc 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]\$ '