From 8c4f80c18b97cd379c9575679a8ba5390e1f841e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 16 Nov 2020 22:04:10 +0100 Subject: New very cool alias --- .config/zsh/alias.zsh | 1 + 1 file changed, 1 insertion(+) (limited to '.config/zsh/alias.zsh') diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index b779c07..0c814ed 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -46,6 +46,7 @@ alias ga='git add' 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 stopdocker='docker-machine stop docker-home' alias envdocker='eval `docker-machine env docker-home`' -- cgit v1.2.3