From 5870810e1ef11ddb0e98af8ec6f54c755deab14e Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Tue, 9 Oct 2018 20:22:04 -0400 Subject: [PATCH] removed files --- analyze.sh | 9 -------- colors.html | 39 ---------------------------------- rules | 60 ----------------------------------------------------- 3 files changed, 108 deletions(-) delete mode 100755 analyze.sh delete mode 100644 colors.html delete mode 100644 rules diff --git a/analyze.sh b/analyze.sh deleted file mode 100755 index 3de6fcb..0000000 --- a/analyze.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -type cppcheck && cppcheck \ - --enable=all \ - --std=c99 \ - --inconclusive \ - --quiet \ - -I inc/ \ - tide.c lib/*.c diff --git a/colors.html b/colors.html deleted file mode 100644 index 6326288..0000000 --- a/colors.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rules b/rules deleted file mode 100644 index 6bf8751..0000000 --- a/rules +++ /dev/null @@ -1,60 +0,0 @@ -# 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 Determines if an env var is set -# is_dir Determines if path is a directory -# is_file Determines if path is a file -# matches Determines if text matches the regex -# exec_cmd Executes cmd and fails the rule if unsuccessful -# launch_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 -} -- 2.52.0