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