dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 8ecf58461a5fe9492b931b86732538920e1f1f65
parent 37461119b53eb6c96a7a86cd9769d9455607b5f1
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 25 Apr 2019 15:04:16 +0200

Use custom opener to spawn in background

Diffstat:
A.config/nnn/xdg-open | 2++
M.profile | 1+
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/.config/nnn/xdg-open b/.config/nnn/xdg-open @@ -0,0 +1,2 @@ +#!/bin/sh +/usr/bin/xdg-open "$@" & diff --git a/.profile b/.profile @@ -20,6 +20,7 @@ NNN_BMS+="u:$HOME/uni;" NNN_BMS+="v:$HOME/videos" export NNN_BMS # bookmarks (max 10) export NNN_USE_EDITOR=1 # always open text files in $EDITOR +export NNN_OPENER="$HOME/.config/nnn/xdg-open" export NNN_OPENER_DETACH=1 # do not block nnn with file opener # shellcheck source=/dev/null