diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-02-26 21:17:24 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-02-26 21:17:24 -0500 |
commit | fef48aa78c305db6b5be81bff5facacba0a76f5f (patch) | |
tree | fa377e83d338a5a52a214bd2ab5dda0fcb255904 /abraham-porter.sh | |
parent | 98fbc511035711d8aa9aecf9e588ad4677d017df (diff) | |
download | scripts-fef48aa78c305db6b5be81bff5facacba0a76f5f.tar.xz scripts-fef48aa78c305db6b5be81bff5facacba0a76f5f.zip |
moved all yt.sh into url_handler, added searching
Diffstat (limited to 'abraham-porter.sh')
-rwxr-xr-x | abraham-porter.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/abraham-porter.sh b/abraham-porter.sh index 0669391..033ffb0 100755 --- a/abraham-porter.sh +++ b/abraham-porter.sh @@ -21,11 +21,8 @@ NO_WANT_ANOTHER_PROVIDED=6 ## Gets a port name from the user with dmenu get_port() { - cwd=$(pwd) - cd "$ports_dir" - printf "%s\n" */* > /tmp/ports.list - dmenu -p "Port" < /tmp/ports.list - cd "$cwd" + fetch -o /tmp/ports.txt -i /tmp/ports.txt https://pkg.53hor.net/ports.txt + dmenu -p "Port" < /tmp/ports.txt } |