From c3af0c31efbc23472a103536280a4d839555e198 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 1 Dec 2018 02:32:30 +1300 Subject: Remove redundant error code in short circuits --- bash/bash_completion.d/ud.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/bash_completion.d/ud.bash') diff --git a/bash/bash_completion.d/ud.bash b/bash/bash_completion.d/ud.bash index 9ded41e6..5170eb57 100644 --- a/bash/bash_completion.d/ud.bash +++ b/bash/bash_completion.d/ud.bash @@ -2,7 +2,7 @@ _ud() { # Only makes sense for the second argument - ((COMP_CWORD == 2)) || return 1 + ((COMP_CWORD == 2)) || return # Iterate through directories, null-separated, add them to completions local dirname -- cgit v1.2.3