New backup 2024-12-12 13:15:02

This commit is contained in:
Penelope Gwen 2024-12-12 13:15:02 -08:00
parent 53e12bfd90
commit 47ff428827

View file

@ -37,9 +37,9 @@ alias adb_root="adb shell -t exec run-as com.termux files/usr/bin/bash -c 'su -'
#df -h without tmpfs #df -h without tmpfs
alias dfh="df -h | grep -v 'tmpfs'" alias dfh="df -h | grep -v 'tmpfs'"
#dev environment toolbox with proper term env var #dev environment toolbox with proper term env var
alias devbox="TERM=xterm-256color toolbox enter debian-sid-dev" alias devpod="TERM=xterm-256color podman exec -it debian-sid-dev /bin/bash"
alias devbox-stable="TERM=xterm-256color toolbox enter debian-toolbox-12" #alias devbox-stable="TERM=xterm-256color toolbox enter debian-toolbox-12"
alias devbox-testing="TERM=xterm-256color toolbox enter debian-toolbox-testing" #alias devbox-testing="TERM=xterm-256color toolbox enter debian-toolbox-testing"
#git shortcut to quickly push all changes with comment #git shortcut to quickly push all changes with comment
pushall() { pushall() {
git add . git add .
@ -82,8 +82,8 @@ prompt_prefix=""
if [ -n "${SSH_CLIENT}" ] || [ -n "${SSH_TTY}" ]; then if [ -n "${SSH_CLIENT}" ] || [ -n "${SSH_TTY}" ]; then
prompt_prefix="${prompt_prefix} [SSH] " prompt_prefix="${prompt_prefix} [SSH] "
fi fi
if [[ "$HOSTNAME" == toolbox* ]];then if [[ "$HOSTNAME" == pod* ]];then
prompt_prefix="${prompt_prefix} [VM] " prompt_prefix="${prompt_prefix} [POD] "
cd "${HOME}" cd "${HOME}"
fi fi