Merge pull request #986 from rodtreweek/patch-r
Request to add some additonal aliases that I have found useful
This commit is contained in:
@@ -18,6 +18,10 @@ alias l1='ls -1'
|
||||
|
||||
alias _="sudo"
|
||||
|
||||
# Shortcuts to edit startup files
|
||||
alias vbrc="vim ~/.bashrc"
|
||||
alias vbpf="vim ~/.bash_profile"
|
||||
|
||||
# colored grep
|
||||
# Need to check an existing file for a pattern that will be found to ensure
|
||||
# that the check works when on an OS that supports the color option
|
||||
@@ -74,9 +78,29 @@ alias rd='rmdir'
|
||||
alias shit='bash-it'
|
||||
alias batshit='bash-it'
|
||||
alias bashit='bash-it'
|
||||
alias batbsh='bash-it'
|
||||
alias babsh='bash-it'
|
||||
alias bash_it='bash-it'
|
||||
alias bash_ti='bash-it'
|
||||
|
||||
# Additional bash-it aliases for help/show
|
||||
alias bshsa='bash-it show aliases'
|
||||
alias bshsc='bash-it show completions'
|
||||
alias bshsp='bash-it show plugins'
|
||||
alias bshha='bash-it help aliases'
|
||||
alias bshhc='bash-it help completions'
|
||||
alias bshhp='bash-it help plugins'
|
||||
alias bshsch="bash-it search"
|
||||
alias bshenp="bash-it enable plugin"
|
||||
alias bshena="bash-it enable alias"
|
||||
alias bshenc="bash-it enable completion"
|
||||
|
||||
# Shorten extract
|
||||
alias xt="extract"
|
||||
|
||||
# sudo vim
|
||||
alias svim="sudo vim"
|
||||
|
||||
# Display whatever file is regular file or folder
|
||||
catt() {
|
||||
for i in "$@"; do
|
||||
|
||||
Reference in New Issue
Block a user