Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Staging:D
bash-completion
tar-completion.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tar-completion.patch of Package bash-completion
boo#1012212 -- bash tab-autocompletion hangs on TAR-archiving with --create key --- completions/tar | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- completions/tar +++ completions/tar 2016-12-14 13:12:09.823140079 +0000 @@ -15,6 +15,10 @@ _tar() local tars='@(@(tar|gem|spkg)?(.@(Z|[bgx]z|bz2|lz?(ma)))|t@([abglx]z|b?(z)2))' case ${words[1]} in + --append|--create) + _filedir + return 0 + ;; --*) ;; ?(-)*[cr]*f) @@ -62,7 +66,7 @@ _tar() # get name of tar file from command line tar=$( sed -e 's/^.* \([^ ]*'$regex'\) .*$/\1/' <<<"${words[@]}" ) # devise how to untar and list it - untar=t${words[1]//[^Jzjyf]/} + untar=tf local IFS=$'\n' COMPREPLY=( $( compgen -W "$( printf '%s\n' $( tar $untar $tar \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor