Browse Source

shim around vagrant defaulting to up

master
ojizero 9 months ago
parent
commit
ad1d4c2680
1 changed files with 9 additions and 1 deletions
  1. 9
    1
      .zshrc

+ 9
- 1
.zshrc View File

@@ -27,7 +27,6 @@ eval "$(thefuck --alias)"

alias f='\fuck'
alias k='\kubectl'
alias v='\vagrant'
if type gls > /dev/null; then
alias ls='\gls -G --color=auto'
alias l='\gls -lhA --color=auto --group-directories-first'
@@ -71,6 +70,15 @@ function npm {
}
alias n='npm'

function vagrant {
if [[ $# -gt 0 ]]; then
/usr/bin/env vagrant $@
else
/usr/bin/env vagrant up
fi
}
alias v='vagrant'

# Options
#


Loading…
Cancel
Save