diff options
Diffstat (limited to 'local/bin/project-open')
| -rwxr-xr-x | local/bin/project-open | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/local/bin/project-open b/local/bin/project-open index adb27a4..63d9314 100755 --- a/local/bin/project-open +++ b/local/bin/project-open @@ -16,7 +16,7 @@ dest_path="$HOME/git/$dest" if cd "$dest_path" 2> /dev/null then touch "$dest_path" - exec st + exec "$TERMINAL" else while [ -z "$choice" ] do @@ -28,7 +28,7 @@ else mkdir -p "$dest_path" cd "$dest_path" || exit 1 git init - exec st + exec "$TERMINAL" ;; "clone") @@ -43,7 +43,7 @@ else other) ;; esac url="$prefix$(echo "$dest" | dmenu -p "Enter repository url: $prefix")" - st -e /bin/sh -c "git clone --recursive '$url' '$dest_path' && cd '$dest_path' && exec $SHELL" || + "$TERMINAL" -e /bin/sh -c "git clone --recursive '$url' '$dest_path' && cd '$dest_path' && exec $SHELL" || notify-send -u critical "Could not clone $url in $dest_path" && exit 1 ;; |
