Makes default operation after fzf viewing

Consider adding an option for this in the future
master
Jonathan Hodgson 4 years ago
parent f8d04a304a
commit 828e21e328
  1. 5
      kb

5
kb

@ -269,8 +269,9 @@ ${YELLOW}ctrl+d $WHITE delete selected
'ctrl-d') deleteFile "$id" ;; 'ctrl-d') deleteFile "$id" ;;
'') '')
case "$1" in case "$1" in
edit) editFile "$id"; safeExit ;; edit) editFile "$id" ;;
view) viewFile "$id"; safeExit ;; view) viewFile "$id" ;;
*) viewFile "$id" ;;
esac esac
;; ;;
*) die "unknown operation '$operation'" ;; *) die "unknown operation '$operation'" ;;

Loading…
Cancel
Save