diff --git a/shells/zshrc b/shells/zshrc index ac2ac78..72ab329 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -76,6 +76,11 @@ dedir(){ smt(){ sudo multitail "/var/log/$1" } +run(){ + test -f "${1:r}" && rm "${1:r}" + echo "Building..." >&2 + gcc -Wall -std=c99 "${1:r}.c" -o "${1:r}" && (echo "Running..." >&2;./"${1:r}") +} alias mt='multitail' alias tg='telegram-cli -N -W' alias perm='stat -c "%a %n"'