Add .bashrc with aliases
This commit is contained in:
commit
a4d8c19447
19
.bashrc
Normal file
19
.bashrc
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user