#!/usr/bin/bash files=("Cargo.toml" "vimrc") files_find=($( find src/ -iname "*.rs" )) $EDITOR ${files[@]} ${files_find[@]}