1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-22 07:43:06 +00:00

Remove BORG_LIBC completion

BORG_LIBC was added in a4f7e69 to allow borg to work on systems where 
ctypes.util,find_library() fails. Since 9914968 borg no longer uses 
find_library().
This commit is contained in:
Andrey Bienkowski 2021-11-28 17:32:34 +03:00
parent 9dfdd9f06a
commit a605dff15e

View file

@ -794,10 +794,6 @@ _borg_parameters() {
_description values expl 'value'
compadd "$expl[@]" YES NO && ret=0
;;
(LIBC)
_wanted libraries expl 'library' \
compadd - ${^=LD_LIBRARY_PATH:-/usr/lib /usr/local/lib}/lib*.(a|so*)(:t:fr:s/lib//) && ret=0
;;
(SELFTEST)
_description values expl 'value'
compadd "$expl[@]" disabled && ret=0