remove README.md from sv dir completions

This commit is contained in:
fanyx 2022-07-12 16:59:32 +02:00
parent c1718db3f0
commit c974498c72
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ _sv()
COMPREPLY=( /var/service/* ) COMPREPLY=( /var/service/* )
COMPREPLY+=( /home/hendrik/sv/* ) COMPREPLY+=( /home/hendrik/sv/* )
COMPREPLY=( ${COMPREPLY[@]##*/} ) COMPREPLY=( ${COMPREPLY[@]##*/} )
COMPREPLY=( "${COMPREPLY[@]/README.md}" )
COMPREPLY=( $(compgen -W '${COMPREPLY[@]}' -- ${cur}) ) COMPREPLY=( $(compgen -W '${COMPREPLY[@]}' -- ${cur}) )
return return
;; ;;