mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
bash_completion: added -o filename option to _hg_status (issue3101)
This commit is contained in:
parent
489da655c0
commit
2574ec2be2
@ -84,6 +84,7 @@ _hg_status()
|
||||
{
|
||||
local files="$(_hg_cmd status -n$1 .)"
|
||||
local IFS=$'\n'
|
||||
compopt -o filenames 2>/dev/null
|
||||
COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur"))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user