summaryrefslogtreecommitdiffstats
path: root/.config/zsh/alias.zsh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-16 22:04:10 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-16 22:04:10 +0100
commit8c4f80c18b97cd379c9575679a8ba5390e1f841e (patch)
tree1dffac308091f42660b238e032a68704582ee270 /.config/zsh/alias.zsh
parentI now use ccls for vim-lsp instead of clangd (diff)
downloaddotfiles-bsd-8c4f80c18b97cd379c9575679a8ba5390e1f841e.tar.gz
dotfiles-bsd-8c4f80c18b97cd379c9575679a8ba5390e1f841e.tar.bz2
dotfiles-bsd-8c4f80c18b97cd379c9575679a8ba5390e1f841e.tar.xz
dotfiles-bsd-8c4f80c18b97cd379c9575679a8ba5390e1f841e.tar.zst
dotfiles-bsd-8c4f80c18b97cd379c9575679a8ba5390e1f841e.zip
New very cool alias
Diffstat (limited to '')
-rw-r--r--.config/zsh/alias.zsh1
1 files changed, 1 insertions, 0 deletions
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`'