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 334eec6a257b32a024723b44be1b1a2c93772c83
parent 2339bda7889f79246eda644cce906f06576d7377
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  3 Oct 2019 12:12:59 +0200

Open shell script in $EDITOR

Diffstat:
M.local/bin/xdg-open | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/.local/bin/xdg-open b/.local/bin/xdg-open @@ -43,6 +43,9 @@ handle_target() { text/*) $EDITOR "$1" return 0;; + *shellscript*) + $EDITOR "$1" + return 0;; application/*html*) $BROWSER "$1" >/dev/null 2>&1 & return 0;;