Adds bashrc
This commit is contained in:
parent
9e5c264bd8
commit
29ff43b725
1 changed files with 16 additions and 0 deletions
16
.bashrc
Normal file
16
.bashrc
Normal 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]\$ '
|
||||||
Loading…
Add table
Add a link
Reference in a new issue