2023-05-19 19:54:24 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#function cdexec() {
|
|
|
|
# cd "$( dirname "$( realpath "$@" )" )"
|
|
|
|
# basename "$@"
|
|
|
|
#}
|
2022-08-21 23:01:50 +02:00
|
|
|
|
|
|
|
function touchx() {
|
|
|
|
touch "$@"
|
|
|
|
chmod +x "$@"
|
|
|
|
}
|
|
|
|
|
2022-07-19 23:53:57 +02:00
|
|
|
function ccr() {
|
2022-08-21 23:01:50 +02:00
|
|
|
gcc "$@" && ./a.out
|
2022-07-19 23:53:57 +02:00
|
|
|
}
|
|
|
|
function cxxr() {
|
2022-08-21 23:01:50 +02:00
|
|
|
g++ "$@" && ./a.out
|
2022-07-19 23:53:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
function gitacp() {
|
2023-05-19 19:54:24 +02:00
|
|
|
git add . && git commit -m "$1" && git push
|
2022-07-19 23:53:57 +02:00
|
|
|
}
|
2022-08-25 22:13:38 +02:00
|
|
|
function gitacpc() {
|
2023-05-19 19:54:24 +02:00
|
|
|
git add . && git commit && git push
|
|
|
|
}
|