init
This commit is contained in:
10
dot_shellrc/rc.d/01-env.sh
Normal file
10
dot_shellrc/rc.d/01-env.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
export TMPDIR="${TMPDIR:-/tmp}"
|
||||
export PATH="/opt/homebrew/bin:$PATH:$HOME/.local/bin"
|
||||
|
||||
alias ls=eza
|
||||
alias cat=bat
|
||||
alias grep=rg
|
||||
alias diff=delta
|
||||
alias less=bat
|
||||
alias gr='if [ "`git rev-parse --show-cdup`" != "" ]; then cd `git rev-parse --show-cdup`; fi'
|
||||
|
||||
3
dot_shellrc/rc.d/01-nvim.sh
Normal file
3
dot_shellrc/rc.d/01-nvim.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
export EDITOR=nvim
|
||||
alias vim=nvim
|
||||
|
||||
4
dot_shellrc/rc.d/05-nvm.sh
Normal file
4
dot_shellrc/rc.d/05-nvm.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
Reference in New Issue
Block a user