diff options
author | Gianni Ceccarelli <gianni.ceccarelli@broadbean.com> | 2022-06-07 11:36:08 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2022-06-07 11:37:44 +0100 |
commit | 692f35c07aa7bfce7521c2ae17c34acca00751ac (patch) | |
tree | 033ed48dbf9fb55727c85f15c7b65d4ca35a8347 /.bash_completion.d | |
parent | maybe better dbus (diff) | |
download | dotfiles-692f35c07aa7bfce7521c2ae17c34acca00751ac.tar.gz dotfiles-692f35c07aa7bfce7521c2ae17c34acca00751ac.tar.bz2 dotfiles-692f35c07aa7bfce7521c2ae17c34acca00751ac.zip |
move bashcomp
Diffstat (limited to '.bash_completion.d')
-rw-r--r-- | .bash_completion.d/dmount.bashcomp | 7 | ||||
-rw-r--r-- | .bash_completion.d/mupdf.bashcomp | 25 | ||||
-rw-r--r-- | .bash_completion.d/pd.bashcomp | 2 | ||||
l--------- | .bash_completion.d/website.bashcomp | 1 |
4 files changed, 0 insertions, 35 deletions
diff --git a/.bash_completion.d/dmount.bashcomp b/.bash_completion.d/dmount.bashcomp deleted file mode 100644 index 7299a9b..0000000 --- a/.bash_completion.d/dmount.bashcomp +++ /dev/null @@ -1,7 +0,0 @@ -# -*- mode: sh -*- - -_dmount_list() { - COMPREPLY=( $( compgen -W '$(dmount --list)' -- "$2" ) ) -} - -complete -F _dmount_list dmount diff --git a/.bash_completion.d/mupdf.bashcomp b/.bash_completion.d/mupdf.bashcomp deleted file mode 100644 index dd02b65..0000000 --- a/.bash_completion.d/mupdf.bashcomp +++ /dev/null @@ -1,25 +0,0 @@ -# mupdf(1) completion -*- shell-script -*- - -_mupdf() -{ - local cur prev words cword split - _init_completion -s || return - - case $prev in - --help*|-h|-p|-r|-W|-H|-S|-U|-x) - return - ;; - esac - - $split && return - - if [[ $cur == -* ]]; then - COMPREPLY=( $( compgen -W '$( _parse_help "$1" --help )' \ - -- "$cur" ) ) - [[ $COMPREPLY == *= ]] && compopt -o nospace - return - fi - - _filedir '@(@(?(e)ps|?(E)PS|[pf]df|[PF]DF|dvi|DVI)?(.gz|.GZ|.bz2|.BZ2|.xz|.XZ)|cb[rz]|djv?(u)|gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx|epub)' -} && -complete -F _mupdf mupdf diff --git a/.bash_completion.d/pd.bashcomp b/.bash_completion.d/pd.bashcomp deleted file mode 100644 index 4eb8044..0000000 --- a/.bash_completion.d/pd.bashcomp +++ /dev/null @@ -1,2 +0,0 @@ -_xfunc perl _perldoc -complete -F _perldoc -o bashdefault pm pd diff --git a/.bash_completion.d/website.bashcomp b/.bash_completion.d/website.bashcomp deleted file mode 120000 index cd8d05a..0000000 --- a/.bash_completion.d/website.bashcomp +++ /dev/null @@ -1 +0,0 @@ -/home/dakkar/website/thenautilus/website.bashcomp
\ No newline at end of file |