better way to do bind in bash for commands (in some cases)