From 99aef611b0a41842f4a98900da4f2de162aeb085 Mon Sep 17 00:00:00 2001 | |
From: Igor Melnyk <[email protected]> | |
Date: Wed, 1 Jan 2020 04:42:11 +0200 | |
Subject: [PATCH] (bash_completion: T1911) Add numeric sort key | |
--- | |
etc/bash_completion.d/vyatta-cfg | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg | |
index a2c3332..10c3bd1 100755 | |
--- a/etc/bash_completion.d/vyatta-cfg | |
+++ b/etc/bash_completion.d/vyatta-cfg | |
@@ -1034,7 +1034,7 @@ vyatta_config_complete () | |
fi | |
fi | |
done | |
- _get_help_text_items+=( $(printf "%s\n" "${tmp_comp_list[@]}" | sort -u) ) | |
+ _get_help_text_items+=( $(printf "%s\n" "${tmp_comp_list[@]}" | sort -un) ) | |
else | |
_get_help_text_items=( "${_cli_shell_api_hitems[@]}" ) | |
vyatta_completions=( "${_cli_shell_api_comp_values[@]}" ) | |
-- | |
2.24.1 | |
File Metadata
File Metadata
- Mime Type
- text/x-diff
- Storage Engine
- local-disk
- Storage Format
- Raw Data
- Storage Handle
- 35/de/c96158f914a811b2a564966a67cb
- Default Alt Text
- 0001-bash_completion-T1911-Add-numeric-sort-key.patch (878 B)