mirror of
https://gitlab.com/octospacc/Configs.git
synced 2025-01-18 16:29:49 +01:00
26 lines
352 B
Bash
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
|
|
}
|