This commit is contained in:
2026-05-05 09:24:09 +02:00
parent 311a89c0e6
commit c48f11992c
7 changed files with 31 additions and 19 deletions
+2 -4
View File
@@ -197,14 +197,12 @@ if (( $+commands[git] )); then
if [[ ! -d "$dir_name" ]]; then
git clone "$repo" || return 1
fi
builtin cd "$dir_name"
local app="$1"
if [[ -n "$app" ]] && (( $+commands[$app] )); then
echo "Opening project with $app"
nohup "$app" "$dir_name" >/dev/null 2>&1 &
nohup "$app" . >/dev/null 2>&1 &
disown
else
echo "Opening method missing or invalid"
builtin cd "$dir_name"
fi
}
fi