Added run()
This commit is contained in:
parent
17b3955645
commit
bbaa248774
@ -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"'
|
||||
|
Loading…
Reference in New Issue
Block a user