mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-01-24 19:52:58 -08:00
25 lines
460 B
Bash
25 lines
460 B
Bash
# e2freefrag(8) completion -*- shell-script -*-
|
|
|
|
_e2freefrag()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
case $prev in
|
|
-c | -h)
|
|
return
|
|
;;
|
|
esac
|
|
|
|
if [[ $cur == -* ]]; then
|
|
COMPREPLY=($(compgen -W '$(_parse_usage "$1" -h)' -- "$cur"))
|
|
return
|
|
fi
|
|
|
|
cur=${cur:=/dev/}
|
|
_filedir
|
|
} &&
|
|
complete -F _e2freefrag e2freefrag
|
|
|
|
# ex: filetype=sh
|