New backup 2024-12-12 13:15:02
This commit is contained in:
parent
53e12bfd90
commit
47ff428827
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
alias dfh="df -h | grep -v 'tmpfs'"
|
||||
#dev environment toolbox with proper term env var
|
||||
alias devbox="TERM=xterm-256color toolbox enter debian-sid-dev"
|
||||
alias devbox-stable="TERM=xterm-256color toolbox enter debian-toolbox-12"
|
||||
alias devbox-testing="TERM=xterm-256color toolbox enter debian-toolbox-testing"
|
||||
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-testing="TERM=xterm-256color toolbox enter debian-toolbox-testing"
|
||||
#git shortcut to quickly push all changes with comment
|
||||
pushall() {
|
||||
git add .
|
||||
|
@ -82,8 +82,8 @@ prompt_prefix=""
|
|||
if [ -n "${SSH_CLIENT}" ] || [ -n "${SSH_TTY}" ]; then
|
||||
prompt_prefix="${prompt_prefix} [SSH] "
|
||||
fi
|
||||
if [[ "$HOSTNAME" == toolbox* ]];then
|
||||
prompt_prefix="${prompt_prefix} [VM] "
|
||||
if [[ "$HOSTNAME" == pod* ]];then
|
||||
prompt_prefix="${prompt_prefix} [POD] "
|
||||
cd "${HOME}"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue