dot

packages and services management
Log | Files | Refs | README

commit 86c1d370f19a8c2cf9f85049f23410bdfb4fb7a6
parent f12c342d3068fd678b9de1422bcbcf0f995a8498
Author: josuah <mail@josuah.net>
Date:   Mon, 31 Oct 2016 06:07:15 -0400

Fixed buffer path issue

Diffstat:
Mbin/buffers | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/buffers b/bin/buffers @@ -67,9 +67,9 @@ get_command() # get_name() { - local command="$1" path="$(cd "$2"; pwd)" + local command="$1" path="${2:+$(cd "$2"; pwd)}" - path="~${path#$HOME}" + path="${path:+~${path#$HOME}}" name="$command${path:+ $path}" # set terminal's name