Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2896402
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
796 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
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)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment