20 lines
357 B
Bash
20 lines
357 B
Bash
|
#
|
||
|
# ~/.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'
|