Ver código fonte

nuke: open log files in vi

master
Arun Prakash Jana 4 anos atrás
pai
commit
f6e814e364
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: A75979F35C080412
1 arquivos alterados com 7 adições e 0 exclusões
  1. +7
    -0
      plugins/nuke

+ 7
- 0
plugins/nuke Ver arquivo

@@ -44,6 +44,7 @@
# pdf: zathura (GUI), pdftotext, mutool, exiftool
# audio: mocplay (nnn plugin using MOC), mpv, mediainfo, exiftool
# avi|mkv|mp4: smplayer, mpv (GUI), ffmpegthumbnailer, mediainfo, exiftool
# log: vi
# torrent: rtorrent, transmission-show
# odt|ods|odp|sxw: odt2txt
# md: glow (https://github.com/charmbracelet/glow)
@@ -178,6 +179,11 @@ handle_extension() {
handle_video
exit 1;;

## Log files
log)
vi "${FPATH}"
exit 0;;

## BitTorrent
torrent)
if which rtorrent >/dev/null 2>&1; then
@@ -220,6 +226,7 @@ handle_extension() {
exit 0
fi
;;

## JSON
json)
if which jq >/dev/null 2>&1; then


Carregando…
Cancelar
Salvar