Configs/Misc/Home/.dotfiles/functrc

26 lines
352 B
Plaintext
Raw Normal View History

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 "$@"
}
function ccr() {
2022-08-21 23:01:50 +02:00
gcc "$@" && ./a.out
}
function cxxr() {
2022-08-21 23:01:50 +02:00
g++ "$@" && ./a.out
}
function gitacp() {
2023-05-19 19:54:24 +02:00
git add . && git commit -m "$1" && git push
}
2022-08-25 22:13:38 +02:00
function gitacpc() {
2023-05-19 19:54:24 +02:00
git add . && git commit && git push
}