run named sessions with list, for sup among others

This commit is contained in:
Felix Van der Jeugt 2017-02-16 11:42:10 +01:00
parent d518c5923d
commit 7fc215f920
No known key found for this signature in database
GPG Key ID: 58B209295023754D
3 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1,3 @@
function sup
exec rvm 2.3.3 do sup
end

View File

@ -13,7 +13,7 @@ if test "$result" = "other"; then
fi
case "$1" in
list) if abduco | grep -q "$result"; then exec st -e /usr/bin/abduco -a "$result"; fi ;;
list) exec st -e /usr/bin/abduco -A "$result" ;;
watch) result="watch $result" ;&
run) exec st -e /usr/bin/abduco -A "$result" $result ;;
esac

View File

@ -1,2 +0,0 @@
#!/bin/sh
exec rvm 2.3.3 do sup