mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-03-12 04:36:22 -07:00
13 lines
267 B
Bash
13 lines
267 B
Bash
# gendiff(1) completion -*- shell-script -*-
|
|
|
|
_gendiff()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion -o '@(diff|patch)' || return
|
|
|
|
((cword == 1)) && _filedir -d
|
|
} &&
|
|
complete -F _gendiff gendiff
|
|
|
|
# ex: filetype=sh
|