aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/shell_liner.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-05-31 03:29:29 -0700
committerChris Lu <chris.lu@gmail.com>2021-05-31 03:29:29 -0700
commit615cb24ba6b0045b8eb3ece8d78fb5ce6dfdea59 (patch)
tree3ed11a912950f7c611f03c91615b16fe8443f29a /weed/shell/shell_liner.go
parentc5de97ddbe6036556f23667cb2870947734051f1 (diff)
downloadseaweedfs-615cb24ba6b0045b8eb3ece8d78fb5ce6dfdea59.tar.xz
seaweedfs-615cb24ba6b0045b8eb3ece8d78fb5ce6dfdea59.zip
shell: use tab print style for completion
Diffstat (limited to 'weed/shell/shell_liner.go')
-rw-r--r--weed/shell/shell_liner.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/shell/shell_liner.go b/weed/shell/shell_liner.go
index 1dd611ca5..38b74bc54 100644
--- a/weed/shell/shell_liner.go
+++ b/weed/shell/shell_liner.go
@@ -31,6 +31,7 @@ func RunShell(options ShellOptions) {
})
line.SetCtrlCAborts(true)
+ line.SetTabCompletionStyle(liner.TabPrints)
setCompletionHandler()
loadHistory()