diff options
author | 2015-07-19 21:04:24 +0800 | |
---|---|---|
committer | 2015-07-23 14:35:35 +0800 | |
commit | 6c668868e95fafb730552fd7567a0a6e3786c368 (patch) | |
tree | 55be41cae611244336f44a8e975eda1d8a84f357 /share | |
parent | 6add8a7df90899e28d317b399e1196a56f24fbb6 (diff) |
death of mimedb: remove mimedb from the tree
Diffstat (limited to 'share')
-rw-r--r-- | share/completions/mimedb.fish | 9 | ||||
-rw-r--r-- | share/functions/mimedb.fish | 12 |
2 files changed, 0 insertions, 21 deletions
diff --git a/share/completions/mimedb.fish b/share/completions/mimedb.fish deleted file mode 100644 index 1aa1895a..00000000 --- a/share/completions/mimedb.fish +++ /dev/null @@ -1,9 +0,0 @@ -complete -c mimedb -s t -l input-file-data --description "Input is a file, use name and contents to determine mimetype" -complete -c mimedb -s f -l input-filename --description "Input is a file, use name to determine mimetype" -complete -c mimedb -s i -l input-mime --description "Input is a mimetype" -complete -c mimedb -s m -l output-mime --description "Output mimetype" -complete -c mimedb -s d -l output-description --description "Output description of mimetype" -complete -c mimedb -s a -l output-action --description "Output default action for mimetype" -complete -c mimedb -s l -l launch --description "Launch default action for each file" -complete -c mimedb -s h -l help --description "Display help and exit" -complete -c mimedb -s v -l version --description "Display version and exit" diff --git a/share/functions/mimedb.fish b/share/functions/mimedb.fish deleted file mode 100644 index 3ed24c22..00000000 --- a/share/functions/mimedb.fish +++ /dev/null @@ -1,12 +0,0 @@ -# Wrap mimedb in a function so it does not have to be found in PATH -# But only if it's installed -if test -x $__fish_bin_dir/mimedb - eval "function mimedb --description 'Look up file information via the mimedb database' - \"$__fish_bin_dir/mimedb\" \$argv - end" -else - function mimedb --description 'Look up file information via the mimedb database' - # Create a function that simply fails, because mimedb not installed - return 1 - end -end |