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