diff options
-rw-r--r-- | bash_include | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash_include b/bash_include index 36c42fc..42c2637 100644 --- a/bash_include +++ b/bash_include @@ -619,11 +619,11 @@ function configfile_fetch () fi args=("$@") - for((i=1, j=0; i<=$#; i++, j++)){ + for((i=1, j=0; i<$#; i++, j++)){ file_name[$j]="${args[$i]}" } - if [ -z "$file_name"]; then + if [ -z "$file_name" ]; then file_name=("bash_include" "vimrc" "screenrc") fi |