Browse Source

Make revagrant work correctly

If revagrant is written as a simple alias, "revagrant local" does not
work as expected. It runs "vagrant destroy -f && vagrant up local",
which destroys ****ALL**** VMs and then re-creates local, instead
of destroying local and recreating it. Yeah.
master
Jonathan "Duke" Leto 9 years ago
parent
commit
717a4a0fbc
  1. 5
      config/.bash/aliases.bash

5
config/.bash/aliases.bash

@ -115,7 +115,10 @@ function grh () {
}
alias vag="vagrant"
alias revagrant="vagrant destroy -f && vagrant up"
function revagrant () {
vagrant destroy -f $1 && vagrant up $1
}
alias convert_to_utf8="perl -MEncode -ne 'print encode_utf8(encode_utf8(eval { decode_utf8(\$_) } || decode(q{cp-1252}, \$_)))'"

Loading…
Cancel
Save