commit a4d8c194475d0e3a4b60a7775c87f50cb9099a0a Author: Michael Beck <ich@mbeck.cologne> Date: Wed Mar 12 21:07:48 2025 +0100 Add .bashrc with aliases diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..2252eb4 --- /dev/null +++ b/.bashrc @@ -0,0 +1,19 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +alias grep='grep --color=auto' +PS1='[\u@\h \W]\$ ' + +alias ..='cd ../' +alias ...='cd ../../' +alias ....='cd ../../../' + +alias dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"' + +alias vi=nvim +alias svi='sudo nvim'