actually use the filetype

This commit is contained in:
2025-11-18 10:11:01 -07:00
parent d69966bc01
commit 1323d15333

View File

@@ -4,7 +4,7 @@ _complete() {
local cur="${COMP_WORDS[COMP_CWORD]}" local cur="${COMP_WORDS[COMP_CWORD]}"
# Only suggest *.csv and *.neoscim # Only suggest *.csv and *.neoscim
COMPREPLY=($(compgen -f -X '!*.@(csv|neoscim)' -- "$cur")) COMPREPLY=($(compgen -f -X '!*.@(csv|nscim)' -- "$cur"))
} }
complete -F _complete sc complete -F _complete sc