aboutsummaryrefslogtreecommitdiff
path: root/local/bin
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-11-20 22:24:07 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-11-20 22:24:07 +0100
commitf421c9f95d74f05a35457fdfce4fd95565877f12 (patch)
treedb6e2e0eee845eb60ab458c771b341a265b01266 /local/bin
parent95b912a57f517f579a625f8feaeb193a8abce968 (diff)
downloaddotfiles-f421c9f95d74f05a35457fdfce4fd95565877f12.tar.gz
dotfiles-f421c9f95d74f05a35457fdfce4fd95565877f12.tar.bz2
dotfiles-f421c9f95d74f05a35457fdfce4fd95565877f12.zip
Updated project-open to use $TERMINAL and changing the variable to alacritty
Diffstat (limited to 'local/bin')
-rwxr-xr-xlocal/bin/project-open6
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
;;