Skip to content

Commit c75c450

Browse files
Merge pull request #189 from dkogan/master
tab completion minor bug fix, version bump
2 parents 1a034e9 + 2a2e0f1 commit c75c450

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/completions/bash/sysdig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This completion code is based on the cmdline interface as it exists in sysdig
2-
# 0.1.82
2+
# 0.1.83
33

44
complete -W \
55
' \

scripts/completions/zsh/_sysdig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#compdef sysdig
22

33
# This completion code is based on the cmdline interface as it exists in sysdig
4-
# 0.1.82
4+
# 0.1.83
55

66
# this must match fields_info.cpp
77
local DESCRIPTION_TEXT_START=19
@@ -23,7 +23,7 @@ function _filter () {
2323

2424
_call_program chisel_info sysdig -l 2>/dev/null |
2525
while IFS='' read -r line; do
26-
if [[ $line =~ "^([a-zA-Z0-9_]+\.[a-zA-Z0-9_]+) +(.*?)$" ]]; then
26+
if [[ $line =~ "^([a-zA-Z0-9_]+\.[a-zA-Z0-9_\.]+) +(.*?)$" ]]; then
2727
# starting a new field
2828
closefield
2929
in_field=1

0 commit comments

Comments
 (0)