From 1d08fc5e10c8ceef1f80f7b0c95e16a73b0b2e26 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sun, 25 Apr 2021 13:48:45 -0400 Subject: Apply several suggestions from shellcheck Signed-off-by: Malfurious --- prompt.zsh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'prompt.zsh') diff --git a/prompt.zsh b/prompt.zsh index 0604e75..9c812ac 100755 --- a/prompt.zsh +++ b/prompt.zsh @@ -1,7 +1,6 @@ -#! /usr/bin/env zsh +#!/usr/bin/env zsh -dot="$(cd "$(dirname "$0")"; pwd)" -args=$@ +dot="$(cd "$(dirname "$0")" || exit; pwd)" source "$dot/sonar-base.sh" if is_repo; then -- cgit v1.2.3