dot

packages and services management
Log | Files | Refs | README

commit fd1cd03585571ec36aa63f92ba7b4294759eb07d
parent 58ac702e2d355fbf0d26932329a254370c8212e8
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Sun, 13 Aug 2017 09:43:59 +0200

iomenu/bin/io: get the absolute path for the session name

Diffstat:
Miomenu/bin/io | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/iomenu/bin/io b/iomenu/bin/io @@ -31,6 +31,7 @@ else fi [ -z "$path" ] && exit 1 +[ -e "$path" ] && path=$(cd "$(dirname "$path")" && pwd)/$(basename "$path") [ $# = 1 ] && set -- $EDITOR "$@" hash=$(printf %s "$path" | cksum | cut -d ' ' -f 1)