refactor: reorganize scripts to idiomatic locations
This commit is contained in:
16
tmux/scripts/tmux-ggclone
Executable file
16
tmux/scripts/tmux-ggclone
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ $# -eq 1 ]]; then
|
||||
selected=$1
|
||||
else
|
||||
read -p "url: " selected
|
||||
fi
|
||||
|
||||
if [[ -z $selected ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
ggman clone "$selected"
|
||||
|
||||
echo ""
|
||||
read -p "press enter to continue..."
|
||||
Reference in New Issue
Block a user