diff --git a/kb b/kb index 9302a55..60799e5 100755 --- a/kb +++ b/kb @@ -269,8 +269,9 @@ ${YELLOW}ctrl+d $WHITE delete selected 'ctrl-d') deleteFile "$id" ;; '') case "$1" in - edit) editFile "$id"; safeExit ;; - view) viewFile "$id"; safeExit ;; + edit) editFile "$id" ;; + view) viewFile "$id" ;; + *) viewFile "$id" ;; esac ;; *) die "unknown operation '$operation'" ;;