diff options
Diffstat (limited to '.config/zsh/alias.zsh')
-rw-r--r-- | .config/zsh/alias.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index b5dcc70..d6663ec 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -65,9 +65,9 @@ alias gco='git commit -m' alias gpp='git push' alias gpo='git push origin' alias srcnt='find . -type f -name "*.c" -exec cat {} \; | sed "/^\//d" | sed "/^\*/d" | sed "/^ \*/d" | sed "/^\/\//d" | sed "/^$/d" | wc -l | tr -d " "' -alias startdocker='sudo service vboxnet restart && docker-machine start docker-home' +alias startdocker='sudo service vboxnet onerestart && docker-machine start docker-home' alias stopdocker='docker-machine stop docker-home' -alias envdocker='eval `docker-machine env docker-home`' +alias envdocker='eval $(docker-machine env docker-home)' alias vimz='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' alias v='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' alias tohex='printf "0x%x\n"' |