add bash-like command editing