I have a number of helper bash script which i usually want to run with the least number of keystrokes possible. So I would vote in favor or execute as a default.
however i think a better way would be to "simply" remember what the last action was for this item and do that every time. If I allways execute "restart-tomcat.sh" then this script should default to execute. If i usually edit .bashrc then default that to edit.
I have a number of helper bash script which i usually want to run with the least number of keystrokes possible. So I would vote in favor or execute as a default.
however i think a better way would be to "simply" remember what the last action was for this item and do that every time. If I allways execute "restart-tomcat.sh" then this script should default to execute. If i usually edit .bashrc then default that to edit.
my 2c.