Configs/Misc/Home/.dotfiles/functrc
2023-05-19 19:54:24 +02:00

26 lines
352 B
Bash

#!/bin/sh
#function cdexec() {
# cd "$( dirname "$( realpath "$@" )" )"
# basename "$@"
#}
function touchx() {
touch "$@"
chmod +x "$@"
}
function ccr() {
gcc "$@" && ./a.out
}
function cxxr() {
g++ "$@" && ./a.out
}
function gitacp() {
git add . && git commit -m "$1" && git push
}
function gitacpc() {
git add . && git commit && git push
}