aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2023-04-09 20:03:10 +0200
committerCharles Cabergs <me@cacharle.xyz>2023-04-09 20:03:10 +0200
commit6b76be1dc2df7a09b01c61a72972bb28a9360b30 (patch)
treeb6149be588238596f70d95bf5d30bac12a49b9a8
parent528535dbfaea11fd243e662ee2c3b2b74e5e5634 (diff)
downloaddotfiles-6b76be1dc2df7a09b01c61a72972bb28a9360b30.tar.gz
dotfiles-6b76be1dc2df7a09b01c61a72972bb28a9360b30.tar.bz2
dotfiles-6b76be1dc2df7a09b01c61a72972bb28a9360b30.zip
Added home in project-open remotes
-rwxr-xr-xlocal/bin/project-open3
1 files changed, 2 insertions, 1 deletions
diff --git a/local/bin/project-open b/local/bin/project-open
index 63d9314..aa6ca57 100755
--- a/local/bin/project-open
+++ b/local/bin/project-open
@@ -34,9 +34,10 @@ else
"clone")
while [ -z "$remote_choice" ]
do
- remote_choice=$(printf 'github.com\ncacharle.xyz\nclipboard\nother' | dmenu -p "Remote location")
+ remote_choice=$(printf 'home\ngithub.com\ncacharle.xyz\nclipboard\nother' | dmenu -p "Remote location")
done
case "$remote_choice" in
+ home) prefix='git@home-nuc:' ;;
github.com) prefix='git@github.com:cacharle/' ;;
cacharle.xyz) prefix='git@cacharle.xyz:/srv/git/' ;;
clipboard) dest="$(xclip -selection clipboard -o)" ;;