From 09060039b6416a75f0084392dab1f0259e8174f2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 26 Jun 2015 11:44:45 +1200 Subject: Remove unneeded 'in "$@"' for argument iteration for defaults to iterating over the arguments --- bash/bashrc.d/pd.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/bashrc.d/pd.bash') diff --git a/bash/bashrc.d/pd.bash b/bash/bashrc.d/pd.bash index be42403b..8003c966 100644 --- a/bash/bashrc.d/pd.bash +++ b/bash/bashrc.d/pd.bash @@ -6,7 +6,7 @@ pd() { local arg target local -a opts - for arg in "$@" ; do + for arg ; do case $arg in --) shift -- cgit v1.2.3