diff options
| author | Charles Cabergs <charles.cabergs@colruytgroup.com> | 2021-12-06 07:55:34 +0100 |
|---|---|---|
| committer | Charles Cabergs <charles.cabergs@colruytgroup.com> | 2021-12-06 07:55:34 +0100 |
| commit | 00fd5bbb537c368ccfc85ba29823e4d616c45d17 (patch) | |
| tree | f3de1450a4452390f91ce5716e0acd485981972d /local/bin/project-open | |
| parent | 268427ca0a213f756ce73732592484c1d215fbbc (diff) | |
| parent | 4adc57a365aa52ff5d4509fb6b09fc54878d9342 (diff) | |
| download | dotfiles-00fd5bbb537c368ccfc85ba29823e4d616c45d17.tar.gz dotfiles-00fd5bbb537c368ccfc85ba29823e4d616c45d17.tar.bz2 dotfiles-00fd5bbb537c368ccfc85ba29823e4d616c45d17.zip | |
Merge branch 'master' of cacharle.xyz:/srv/git/dotfiles
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 ;; |
