Merge da602221c2 into bdd5e50cf9
commit
eb5d099937
|
|
@ -10,7 +10,7 @@ Bash-it provides a solid framework for using, developing and maintaining shell s
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
1. Check out a clone of this repo to a location of your choice, such as: `git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it`
|
1. Check out a clone of this repo to a location of your choice, such as: `git clone --depth=1 https://github.com/rodtreweek/bash-it.git ~/.bash_it`
|
||||||
2. Run `~/.bash_it/install.sh` (it automatically backs up your `~/.bash_profile` or `~/.bashrc`, depending on your OS)
|
2. Run `~/.bash_it/install.sh` (it automatically backs up your `~/.bash_profile` or `~/.bashrc`, depending on your OS)
|
||||||
3. Edit your modified config (`~/.bash_profile` or `~/.bashrc`) file in order to customize Bash-it.
|
3. Edit your modified config (`~/.bash_profile` or `~/.bashrc`) file in order to customize Bash-it.
|
||||||
4. Check out available aliases, completions and plugins and enable the ones you want to use (see the next section for more details).
|
4. Check out available aliases, completions and plugins and enable the ones you want to use (see the next section for more details).
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,23 @@ alias batshit='bash-it'
|
||||||
alias bashit='bash-it'
|
alias bashit='bash-it'
|
||||||
alias bash_it='bash-it'
|
alias bash_it='bash-it'
|
||||||
alias bash_ti='bash-it'
|
alias bash_ti='bash-it'
|
||||||
|
alias bsh='bash-it'
|
||||||
|
|
||||||
|
# Additional bash-it aliases for help/show
|
||||||
|
alias shitsha='bash-it show aliases'
|
||||||
|
alias shitshc='bash-it show completions'
|
||||||
|
alias shitshp='bash-it show plugs'
|
||||||
|
alias shitha='bash-it help aliases'
|
||||||
|
alias shithc='bash-it help completions'
|
||||||
|
alias shithp='bash-it help plugins'
|
||||||
|
alias shitsrch="bash-it search $1"
|
||||||
|
alias shitsrchen="bash-it search $1 --enable"
|
||||||
|
alias shitenp="bash-it enable plugin"
|
||||||
|
alias shitena="bash-it enable alias"
|
||||||
|
alias shitenc="bash-it enable completion"
|
||||||
|
|
||||||
|
# source ~/.bash_profile
|
||||||
|
alias sprof="source ~/.bash_profile"
|
||||||
|
|
||||||
# Display whatever file is regular file or folder
|
# Display whatever file is regular file or folder
|
||||||
catt() {
|
catt() {
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
cite 'about-alias'
|
||||||
|
about-alias 'homesick aliases'
|
||||||
|
|
||||||
|
# Aliases
|
||||||
|
alias sikhm="homesick cd dotfiles"
|
||||||
|
alias sikclone="homesick clone"
|
||||||
|
alias sikcomt="homesick commit dotfiles"
|
||||||
|
alias sikdstry="homesick destroy"
|
||||||
|
alias sikdif="homesick diff dotfiles"
|
||||||
|
alias sikexec="homesick exec dotfiles"
|
||||||
|
alias sikexeca="homesick exec_all"
|
||||||
|
alias sikgen="homesick generate"
|
||||||
|
alias sikhlp="homesick help"
|
||||||
|
alias siklnk="homesick link dotfiles"
|
||||||
|
alias sikls="homesick list"
|
||||||
|
alias sikopn="homesick open dotfiles"
|
||||||
|
alias sikpll="homesick pull dotfiles"
|
||||||
|
alias sikpsh="homesick push dotfiles"
|
||||||
|
alias sikrc="homesick rc dotfiles"
|
||||||
|
alias sikpth="homesick show_path dotfiles"
|
||||||
|
alias sikst="homesick status dotfiles"
|
||||||
|
alias siktrk="homesick track $1 dotfiles"
|
||||||
|
alias sikulnk="homesick unlink dotfiles"
|
||||||
|
alias sikv="homesick version"
|
||||||
|
|
@ -2,13 +2,18 @@ cite 'about-alias'
|
||||||
about-alias 'vagrant aliases'
|
about-alias 'vagrant aliases'
|
||||||
|
|
||||||
# Aliases
|
# Aliases
|
||||||
|
alias vhl='vagrant hosts list'
|
||||||
|
alias vscp='vaagrant scp'
|
||||||
|
alias vsl='vagrant snapshot list'
|
||||||
|
alias vst='vagrant snapshot take'
|
||||||
alias vup="vagrant up"
|
alias vup="vagrant up"
|
||||||
|
alias vupo="vagrant up $1 --provider=openstack"
|
||||||
|
alias vupv="vagrant up $1 --provider=vsphere"
|
||||||
alias vupl="vagrant up 2>&1 | tee vagrant.log"
|
alias vupl="vagrant up 2>&1 | tee vagrant.log"
|
||||||
alias vh="vagrant halt"
|
alias vh="vagrant halt"
|
||||||
alias vs="vagrant suspend"
|
alias vs="vagrant suspend"
|
||||||
alias vr="vagrant resume"
|
alias vr="vagrant resume"
|
||||||
alias vrl="vagrant reload"
|
alias vrl="vagrant reload"
|
||||||
alias vssh="vagrant ssh"
|
|
||||||
alias vst="vagrant status"
|
alias vst="vagrant status"
|
||||||
alias vp="vagrant provision"
|
alias vp="vagrant provision"
|
||||||
alias vdstr="vagrant destroy"
|
alias vdstr="vagrant destroy"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue