| 1 | source ~/.hygo/setup.sh |
| 2 | source ~/.hygo/secret.sh |
| 3 | |
| 4 | |
| 5 | alias sz="source ~/.zshrc" |
| 6 | alias sb="source ~/.bashrc" |
| 7 | alias c="clear" |
| 8 | alias ch="code ~/.hygo" |
| 9 | alias vh="vim ~/.hygo" |
| 10 | alias chs="code ~/.hygo/secret.sh" |
| 11 | alias rhs="cat ~/.hygo/secret.sh" |
| 12 | alias vhs="vim ~/.hygo/secret.sh" |
| 13 | |
| 14 | |
| 15 | |
| 16 | alias dcd="docker compose down --remove-orphans" |
| 17 | alias dcu="dcd && docker compose up --build -d" |
| 18 | alias dcul="dcu && docker compose logs -f" |
| 19 | alias dce="docker compose exec -it" |
| 20 | alias dcl="docker compose logs -f" |
| 21 | |
| 22 | |
| 23 | |
| 24 | function gcom() { |
| 25 | git add . |
| 26 | git commit -m "$*" |
| 27 | } |
| 28 | function gpom() { |
| 29 | gcom "$*" |
| 30 | git push |
| 31 | } |
| 32 | alias glog="git log --oneline" |
| 33 | alias gp="git push" |
| 34 | alias gc="git checkout" |
| 35 | |
| 36 | |
| 37 | |
| 38 | if [ -f "$(pwd)/source.sh" ] && [ "$(pwd)" != "$HOME/.hygo" ]; then |
| 39 | echo -e "\e[32mFound a source.sh in the current directory. Sourcing it.\e[0m" |
| 40 | source "$(pwd)/source.sh" |
| 41 | fi |