fix csv (again) - added tests this time. Started on #27, #36

This commit is contained in:
2025-11-18 10:09:29 -07:00
parent dae3b57f73
commit d69966bc01
6 changed files with 176 additions and 22 deletions

10
bash_complitions Normal file
View File

@@ -0,0 +1,10 @@
# This is only WIP, idk how to make it only take
# 1 argument yet
_complete() {
local cur="${COMP_WORDS[COMP_CWORD]}"
# Only suggest *.csv and *.neoscim
COMPREPLY=($(compgen -f -X '!*.@(csv|neoscim)' -- "$cur"))
}
complete -F _complete sc