Avoid transaction rollback on errors in interactive psql
Delete path segments in the shell using ^W rather then whole "words"
Enable ^S to search forward in shell history (like ^R searches backward)
Resolve spec files before bailing out

This solves the case where there are modifications but none
of those files are associated with spec files.
Strip all file extensions when trying to find matching spec files