commit e6bf05cddd6ddde7366d4f745f71712abaab1419
parent 259fd08e6b3a1d66ef816619f95a40667f7d6658
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 5 Oct 2019 13:12:01 +0200
Use own xdg-open for nnn
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/.config/nnn/xdg-open b/.config/nnn/xdg-open
@@ -1,2 +0,0 @@
-#!/bin/sh
-/usr/bin/xdg-open "$@" &
diff --git a/.config/sh/profile b/.config/sh/profile
@@ -23,7 +23,7 @@ NNN_PLUG="o:fzf-open;e:fzf-edit;u:upload;m:movie-info;c:copy-selection-to-clipbo
export NNN_BMS # bookmarks (max 10)
export NNN_PLUG # x-key binds (max 10)
export NNN_USE_EDITOR=1 # always open text files in $EDITOR
-export NNN_OPENER="$HOME/.config/nnn/xdg-open"
+#export NNN_OPENER="$HOME/.local/bin/xdg-open"
export NNN_OPENER_DETACH=1 # do not block nnn with file opener
export NNN_NOTE="$HOME/doc/todo.md"