aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/apf.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/apf.bash')
-rw-r--r--bash/bashrc.d/apf.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/apf.bash b/bash/bashrc.d/apf.bash
index 01b38437..a9cd115e 100644
--- a/bash/bashrc.d/apf.bash
+++ b/bash/bashrc.d/apf.bash
@@ -86,7 +86,7 @@ apf() {
local -a args
local arg
while IFS= read -d '' -r arg ; do
- args=("${args[@]}" "$arg")
+ args[${#args[@]}]=$arg
done < "$argfile"
# Next argument is the command to run