Page MenuHomePhorge

No OneTemporary

diff --git a/resources/shell/bash-completion b/resources/shell/bash-completion
index c87230d8..e431064f 100644
--- a/resources/shell/bash-completion
+++ b/resources/shell/bash-completion
@@ -1,24 +1,22 @@
-_arc()
+_arc ()
{
-
CUR="${COMP_WORDS[COMP_CWORD]}"
COMPREPLY=()
- OPTS=$(arc shell-complete --current ${COMP_CWORD} -- ${COMP_WORDS[@]})
-
+ OPTS=$(echo | arc shell-complete --current ${COMP_CWORD} -- ${COMP_WORDS[@]})
+
if [ $? -ne 0 ]; then
return $?
fi
-
+
if [ "$OPTS" = "FILE" ]; then
COMPREPLY=( $(compgen -f -- ${CUR}) )
return 0
fi
-
+
if [ "$OPTS" = "ARGUMENT" ]; then
return 0
fi
-
- COMPREPLY=( $(compgen -W "${OPTS}" -- ${CUR}) )
+ COMPREPLY=( $(compgen -W "${OPTS}" -- ${CUR}) )
}
complete -F _arc -o filenames arc

File Metadata

Mime Type
text/x-diff
Expires
Jan 19 2025, 23:03 (6 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129673
Default Alt Text
(796 B)

Event Timeline