the hash table declarations don't need to be in the config.

This commit is contained in:
Jack L. Frost 2014-11-21 13:48:57 +03:00
parent 545447c9b0
commit 97b1be6732
2 changed files with 4 additions and 4 deletions

View File

@ -45,6 +45,10 @@ handle_fs_target() {
}
main() {
declare -A uri_handlers
declare -A mime_handlers
declare -A filename_handlers
target="$1"
[[ "$target" ]] || { usage; exit; }

View File

@ -1,10 +1,6 @@
# Configuration file for sx-open
# Note that as sx-open checks the regexes in order, they should be placed in order from specific to less so.
declare -A uri_handlers
declare -A mime_handlers
declare -A filename_handlers
uri_handlers=(
["steam"]='^steam://.+'
["browser"]='.+'