Skip to content

Commit 8bd337a

Browse files
committed
refactor(tar): remove duplicate declarations
1 parent 4cf6d22 commit 8bd337a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

completions/tar

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,7 @@ _comp_cmd_tar__detect_ext()
523523

524524
_comp_cmd_tar__gnu()
525525
{
526-
local basic_tar="" \
527-
tar_mode tar_mode_arg
526+
local basic_tar=""
528527

529528
# Main mode, e.g. "x" or "c" or the long forms "extract" or "create"
530529
local tar_mode=none
@@ -710,8 +709,7 @@ _comp_cmd_tar__posix_prev_handle()
710709

711710
_comp_cmd_tar__posix()
712711
{
713-
local basic_tar=set \
714-
tar_mode tar_mode_arg
712+
local basic_tar=set
715713

716714
# Main mode, e.g. -x or -c (extract/creation)
717715
local tar_mode=none

0 commit comments

Comments
 (0)