From 18488b3ef16f9bc8a42124f8b9c0b94b41fca31f Mon Sep 17 00:00:00 2001 From: akanealw Date: Mon, 24 Mar 2025 12:17:14 -0500 Subject: [PATCH] testing --- debian/debian-essentials-remote.sh | 4 +++- debian/debian-essentials-scott.sh | 3 +++ debian/debian-install-docker-lxc.sh | 6 ++++++ debian/debian-install-docker.sh | 1 + ubuntu/ubuntu-essentials.sh | 4 +++- ubuntu/ubuntu-install-docker-lxc.sh | 1 + ubuntu/ubuntu-install-docker.sh | 1 + 7 files changed, 18 insertions(+), 2 deletions(-) diff --git a/debian/debian-essentials-remote.sh b/debian/debian-essentials-remote.sh index d6d353a..87ab8e9 100755 --- a/debian/debian-essentials-remote.sh +++ b/debian/debian-essentials-remote.sh @@ -172,7 +172,8 @@ echo "alias aptac='sudo apt autoclean'" >> /etc/bash.bashrc echo "alias dpkgi='sudo dpkg -i'" >> /etc/bash.bashrc echo "alias tmuxls='tmux ls'" >> /etc/bash.bashrc echo "alias tmuxa='tmux attach -t'" >> /etc/bash.bashrc -echo "alias gitstore='git config --global credential.helper store'" >> /etc/bash.bashrc +echo "alias gitconfig='git config --global credential.helper store && git config --global user.name "akanealw" && git config --global user.email "akanealw@gmail.com" && git config --global init.defaultBranch main && git config --global credential.helper store'" >> /etc/bash.bashrc +echo "alias gp='git pull'" >> /etc/bash.bashrc echo "alias hh='hstr'" >> /etc/bash.bashrc echo "export HSTR_CONFIG=hide-help,hicolor,prompt-bottom,ignorespace,raw-history-view" >> /etc/bash.bashrc @@ -196,6 +197,7 @@ if [[ -d /etc/docker ]] echo "alias dnc='docker network create'" >> /etc/bash.bashrc echo "alias dnrm='docker network rm'" >> /etc/bash.bashrc echo "alias dni='docker network inspect'" >> /etc/bash.bashrc + echo "alias dclf='docker compose up -d && docker logs -f'" >> /etc/bash.bashrc echo "alias lzd='lazydocker'" >> /etc/bash.bashrc fi diff --git a/debian/debian-essentials-scott.sh b/debian/debian-essentials-scott.sh index 49166dc..6db8442 100755 --- a/debian/debian-essentials-scott.sh +++ b/debian/debian-essentials-scott.sh @@ -157,6 +157,8 @@ echo "alias aptac='sudo apt autoclean'" >> /etc/bash.bashrc echo "alias dpkgi='sudo dpkg -i'" >> /etc/bash.bashrc echo "alias tmuxls='tmux ls'" >> /etc/bash.bashrc echo "alias tmuxa='tmux attach -t'" >> /etc/bash.bashrc +echo "alias gitconfig='git config --global credential.helper store && git config --global user.name "akanealw" && git config --global user.email "akanealw@gmail.com" && git config --global init.defaultBranch main && git config --global credential.helper store'" >> /etc/bash.bashrc +echo "alias gp='git pull'" >> /etc/bash.bashrc echo "alias hh='hstr'" >> /etc/bash.bashrc echo "export HSTR_CONFIG=hide-help,hicolor,prompt-bottom,ignorespace,raw-history-view" >> /etc/bash.bashrc @@ -178,6 +180,7 @@ if [[ -f /etc/apt/keyrings/docker.gpg ]] echo "alias dnc='docker network create'" >> /etc/bash.bashrc echo "alias dnrm='docker network rm'" >> /etc/bash.bashrc echo "alias dni='docker network inspect'" >> /etc/bash.bashrc + echo "alias dclf='docker compose up -d && docker logs -f'" >> /etc/bash.bashrc echo "alias deit='docker exec -it'" >> /etc/bash.bashrc fi diff --git a/debian/debian-install-docker-lxc.sh b/debian/debian-install-docker-lxc.sh index 5e47ad8..96d1661 100755 --- a/debian/debian-install-docker-lxc.sh +++ b/debian/debian-install-docker-lxc.sh @@ -34,6 +34,12 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]] echo "alias dclf='docker compose logs -f'" >> /etc/bash.bashrc echo "alias dipaf='docker image prune -a -f'" >> /etc/bash.bashrc echo "alias deit='docker exec -it'" >> /etc/bash.bashrc + echo "alias di='docker inspect'" >> /etc/bash.bashrc + echo "alias dnls='docker network ls'" >> /etc/bash.bashrc + echo "alias dnc='docker network create'" >> /etc/bash.bashrc + echo "alias dnrm='docker network rm'" >> /etc/bash.bashrc + echo "alias dni='docker network inspect'" >> /etc/bash.bashrc + echo "alias dclf='docker compose up -d && docker logs -f'" >> /etc/bash.bashrc echo "alias lzd='lazydocker'" >> /etc/bash.bashrc echo "Docker installed successfully." else diff --git a/debian/debian-install-docker.sh b/debian/debian-install-docker.sh index 0b25469..4d9002e 100755 --- a/debian/debian-install-docker.sh +++ b/debian/debian-install-docker.sh @@ -35,6 +35,7 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]] echo "alias dnc='docker network create'" >> /etc/bash.bashrc echo "alias dnrm='docker network rm'" >> /etc/bash.bashrc echo "alias dni='docker network inspect'" >> /etc/bash.bashrc + echo "alias dclf='docker compose up -d && docker logs -f'" >> /etc/bash.bashrc echo "alias lzd='lazydocker'" >> /etc/bash.bashrc echo "Docker installed successfully." else diff --git a/ubuntu/ubuntu-essentials.sh b/ubuntu/ubuntu-essentials.sh index 2e23f70..5e81399 100755 --- a/ubuntu/ubuntu-essentials.sh +++ b/ubuntu/ubuntu-essentials.sh @@ -133,7 +133,8 @@ echo "alias aptac='sudo apt autoclean'" >> /etc/bash.bashrc echo "alias dpkgi='sudo dpkg -i'" >> /etc/bash.bashrc echo "alias tmuxls='tmux ls'" >> /etc/bash.bashrc echo "alias tmuxa='tmux attach -t'" >> /etc/bash.bashrc -echo "alias gitstore='git config --global credential.helper store'" >> /etc/bash.bashrc +echo "alias gitconfig='git config --global credential.helper store && git config --global user.name "akanealw" && git config --global user.email "akanealw@gmail.com" && git config --global init.defaultBranch main && git config --global credential.helper store'" >> /etc/bash.bashrc +echo "alias gp='git pull'" >> /etc/bash.bashrc echo "alias hh='hstr'" >> /etc/bash.bashrc echo "export HSTR_CONFIG=hide-help,hicolor,prompt-bottom,ignorespace,raw-history-view" >> /etc/bash.bashrc @@ -157,6 +158,7 @@ if [[ -f /etc/apt/keyrings/docker.gpg ]] echo "alias dnc='docker network create'" >> /etc/bash.bashrc echo "alias dnrm='docker network rm'" >> /etc/bash.bashrc echo "alias dni='docker network inspect'" >> /etc/bash.bashrc + echo "alias dclf='docker compose up -d && docker logs -f'" >> /etc/bash.bashrc echo "alias lzd='lazydocker'" >> /etc/bash.bashrc fi diff --git a/ubuntu/ubuntu-install-docker-lxc.sh b/ubuntu/ubuntu-install-docker-lxc.sh index 1eb43d6..11d8f04 100755 --- a/ubuntu/ubuntu-install-docker-lxc.sh +++ b/ubuntu/ubuntu-install-docker-lxc.sh @@ -35,6 +35,7 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]] echo "alias dlf='docker logs -f'" >> /etc/bash.bashrc echo "alias dipaf='docker image prune -a -f'" >> /etc/bash.bashrc echo "alias deit='docker exec -it'" >> /etc/bash.bashrc + echo "alias dclf='docker compose up -d && docker logs -f'" >> /etc/bash.bashrc echo "alias lzd='lazydocker'" >> /etc/bash.bashrc echo "Docker installed successfully." else diff --git a/ubuntu/ubuntu-install-docker.sh b/ubuntu/ubuntu-install-docker.sh index 0b25469..f605c9f 100755 --- a/ubuntu/ubuntu-install-docker.sh +++ b/ubuntu/ubuntu-install-docker.sh @@ -35,6 +35,7 @@ if [[ ! -f /etc/apt/keyrings/docker.gpg ]] echo "alias dnc='docker network create'" >> /etc/bash.bashrc echo "alias dnrm='docker network rm'" >> /etc/bash.bashrc echo "alias dni='docker network inspect'" >> /etc/bash.bashrc + echo "alias dclf='docker compose up -d && docker logs -f'" >> /etc/bash.bashrc echo "alias lzd='lazydocker'" >> /etc/bash.bashrc echo "Docker installed successfully." else