dot

packages and services management
Log | Files | Refs | README

commit b632c65e81cf2ccd4663af54e31dc2bf7c9b9065
parent c890ed2d8dcec4b89f4364ab115f2720cfe6190d
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed,  6 Dec 2017 21:35:53 +0100

small simplification

Diffstat:
Mbin/xdg-open | 11+++++------
Atoread | 2++
2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/bin/xdg-open b/bin/xdg-open @@ -98,8 +98,8 @@ case $scheme in address=${1#*://} address=${address%:*} if [ "$port" = . ] - then exec ssh "$address" - else exec ssh -p "$port" "$address" + then aexec ssh "$address" + else aexec ssh -p "$port" "$address" fi ;; (sftp) @@ -163,8 +163,7 @@ esac (*/music/*|*.opus|*.mp3|*.flac) aexec play "$1" ;; -(*) - [ -d "$1" ] && exec io-src "$1" - aexec less "$1" - ;; esac + +[ -d "$1" ] && exec io-src "$1" +[ -f "$1" ] && aexec less "$1" diff --git a/toread b/toread @@ -0,0 +1,2 @@ +https://security.stackexchange.com/questions/91725/dnscrypt-vs-dnscurve +https://www.icann.org/resources/pages/dnssec-qaa-2014-01-29-en