irongit

Hygo AI custom shell.

HygoShell/source.sh
41 lines999 BBourne Again Shell (bash)
1source ~/.hygo/setup.sh
2source ~/.hygo/secret.sh
3
4# HELP basic
5alias sz="source ~/.zshrc"
6alias sb="source ~/.bashrc"
7alias c="clear"
8alias ch="code ~/.hygo"
9alias vh="vim ~/.hygo"
10alias chs="code ~/.hygo/secret.sh"
11alias rhs="cat ~/.hygo/secret.sh"
12alias vhs="vim ~/.hygo/secret.sh"
13# HELP basic
14
15# HELP docker
16alias dcd="docker compose down --remove-orphans"
17alias dcu="dcd && docker compose up --build -d"
18alias dcul="dcu && docker compose logs -f"
19alias dce="docker compose exec -it"
20alias dcl="docker compose logs -f"
21# HELP docker
22
23# HELP git
24function gcom() {
25 git add .
26 git commit -m "$*"
27}
28function gpom() {
29 gcom "$*"
30 git push
31}
32alias glog="git log --oneline"
33alias gp="git push"
34alias gc="git checkout"
35# HELP git
36
37# Add source ./source.sh if it exists and this is not ~/.hygo/source.sh
38if [ -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"
41fi