Updates Work laptop

This commit is contained in:
Michel Fedde 2025-04-24 11:27:59 +02:00
parent fb8b1d7951
commit 7057d68410
6 changed files with 19 additions and 2 deletions

View file

@ -17,3 +17,5 @@ alias note-dsa='(cd ~/DSA/ && ENABLE_GIT_SETUP=true nvim ~/DSA/)'
alias note-dsa-players='(cd ~/DSA/Spieler/ && ENABLE_GIT_SETUP=true nvim ~/DSA/Spieler/)'
eval "$(zoxide init bash --cmd cd)"
source "$HOME/.config/terminal/alias.sh"

View file

@ -0,0 +1,13 @@
#!/bin/env sh
# eve helper
function eve() {
local eveVMPath="${HOME}/vagrant"
if [ "${*}" = "ssh" ]; then
local status=$(cd $eveVMPath && vagrant status)
if [[ ! "$status" == *"The VM is running."* ]]; then
( cd $eveVMPath && vagrant up )
fi
fi
( cd $eveVMPath && vagrant $* )
}

View file