aboutsummaryrefslogtreecommitdiff
path: root/bin/vis
diff options
context:
space:
mode:
Diffstat (limited to 'bin/vis')
-rwxr-xr-xbin/vis4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/vis b/bin/vis
index efeb6b44..a2114c5d 100755
--- a/bin/vis
+++ b/bin/vis
@@ -32,7 +32,7 @@ for arg ; do
;;
-*)
shift
- opts=("${opts[@]}" "$arg")
+ opts[${#opts[@]}]=$arg
;;
*)
break
@@ -61,7 +61,7 @@ files=("${@/#/$vispath/}")
declare -a creations
for file in "${files[@]}" ; do
[[ -e $file ]] && continue
- creations=("${creations[@]}" "$file")
+ creations[${#creations[@]}]=$file
done
# Run the editor; if EDITOR isn't set, use vi(1)