Add .bashrc with aliases

This commit is contained in:
Michael Beck 2025-03-12 21:07:48 +01:00
commit a4d8c19447

19
.bashrc Normal file
View File

@ -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'