Skip to content

Commit c6631e0

Browse files
akinomyogascop
andcommitted
refactor(find): clean up bash-2.05 workaround for compgen -g
2>/dev/null was introduced in ad561ac. According to the commit message, it is introduced to suppress the errors in bash 2.05. Now we only support bash >= 4.2, so we can remove the workaround. All the other similar cases in ad561ac were already removed. References: #972 (comment) ad561ac Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
1 parent 3e79cbf commit c6631e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/find

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ _comp_cmd_find()
3636
return
3737
;;
3838
-group)
39-
_comp_compgen -- -g 2>/dev/null
39+
_comp_compgen -- -g
4040
return
4141
;;
4242
-xtype | -type)

0 commit comments

Comments
 (0)