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 a6d7a9d3d3770254bd72e0293fb2059f37b3139e
parent 6fa843d6ab004aec8b79062612acc2d62b3bac87
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue,  1 Oct 2019 21:23:52 +0200

Disown after opening existing file

Diffstat:
M.config/sh/commands | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/.config/sh/commands b/.config/sh/commands @@ -32,6 +32,7 @@ o() { [ "$(uname)" = 'Darwin' ] && open="open" || open="xdg-open" if [ "$#" -gt 0 ] && [ -f "$1" ]; then nohup $open "$1" >/dev/null 2>&1 & + disown else IFS= out=$(fzf --exit-0 \ --expect=ctrl-o,ctrl-e,ctrl-y \