+++ /dev/null
-<input type="color" value="#00695c"/>
-<input type="color" value="#008080"/>
-<input type="color" value="#04530d"/>
-<input type="color" value="#0c6cc0"/>
-<input type="color" value="#0e8ed3"/>
-<input type="color" value="#1041a8"/>
-<input type="color" value="#1177dd"/>
-<input type="color" value="#1e7b3d"/>
-<input type="color" value="#2e2e2e"/>
-<input type="color" value="#337ca3"/>
-<input type="color" value="#4a4642"/>
-<input type="color" value="#4a9f68"/>
-<input type="color" value="#4d4214"/>
-<input type="color" value="#546e7a"/>
-<input type="color" value="#567686"/>
-<input type="color" value="#666666"/>
-<input type="color" value="#6b118a"/>
-<input type="color" value="#7878ba"/>
-<input type="color" value="#7a7672"/>
-<input type="color" value="#878965"/>
-<input type="color" value="#a25a09"/>
-<input type="color" value="#aabbcc"/>
-<input type="color" value="#cb1265"/>
-<input type="color" value="#cce0ef"/>
-<input type="color" value="#d0ead0"/>
-<input type="color" value="#d1160b"/>
-<input type="color" value="#dbf2ff"/>
-<input type="color" value="#dcdcdc"/>
-<input type="color" value="#dfd6d1"/>
-<input type="color" value="#e2e2d0"/>
-<input type="color" value="#e9e7ac"/>
-<input type="color" value="#ea6042"/>
-<input type="color" value="#f0f0e5"/>
-<input type="color" value="#f39812"/>
-<input type="color" value="#f4b3c2"/>
-<input type="color" value="#f6e4e7"/>
-<input type="color" value="#fdfec9"/>
-<input type="color" value="#fed910"/>
-<input type="color" value="#ffe3e5"/>
+++ /dev/null
-# This is a list of sequentially applied rule blocks that attempt to
-# determine what should be done with a piece of text stored in $data
-# Processing starts at the top of the file and proceeds to the bottom
-# or until a block executes the finish command. If any comman in the
-# block is unsuccessful, that block should terminate and the next block
-# should be evaluated.
-#
-# Builtin Commands:
-# is_set <var> Determines if an env var is set
-# is_dir <path> Determines if path is a directory
-# is_file <path> Determines if path is a file
-# matches <text> <regex> Determines if text matches the regex
-# exec_cmd <cmd> Executes cmd and fails the rule if unsuccessful
-# launch_cmd <cmd> Executes cmd without regard to exit status
-
-{ # Look up .c or .h files in Code/
- is_set EDITOR
- matches "$data" "\\.[ch]$"
- is_dir "Code"
- exec_cmd "[[ $(find Code -type f -name '*$data') ]]"
- launch_cmd "find Code -type f -name '*$data' | xargs -r $EDITOR"
- finish
-}
-
-{ # Match URLS and open them with the browser
- is_set BROWSER
- matches "$data" "^(https?|ftp)://.*"
- launch_cmd "$BROWSER $0"
- finish
-}
-
-{ # Open files with addresses in the editor
- is_set EDITOR
- matches "$data" "^([^:]+):([0-9]+)"
- is_file "$1"
- launch_cmd "tctl $0"
- finish
-}
-
-{ # If it's an existing text file, open it with editor
- is_set EDITOR
- is_file "$data"
- exec_cmd "file --mime '$file' | grep -q 'text/'"
- launch_cmd "$EDITOR" "$file"
- finish
-}
-
-{ # Look it up in ctags database
- is_set EDITOR
- is_file tags
- exec_cmd grep -q "^$data\\s\\+" tags
- launch_cmd picktag fetch tags "$data" | xargs -r tide
- finish
-}
-
-{ # If it's an existing directory, open it with system default
- is_dir "$data"
- launch_cmd "open '$data'"
- finish
-}