mirror of
https://github.com/pfloos/quack
synced 2024-12-22 04:14:26 +01:00
ensure correct path in quack rc
This commit is contained in:
parent
f5604e0264
commit
01ccecd866
5
quack.rc
5
quack.rc
@ -3,7 +3,7 @@
|
||||
QUACK_ROOT="/NOT/FOUND"
|
||||
case "$(ps -p $$ -ocomm=)" in
|
||||
"zsh")
|
||||
QUACK_ROOT=$(dirname $0)
|
||||
QUACK_ROOT=$(dirname "$0")
|
||||
;;
|
||||
*)
|
||||
QUACK_ROOT=$(dirname "${BASH_SOURCE[0]}")
|
||||
@ -12,5 +12,4 @@ esac
|
||||
|
||||
export QUACK_ROOT="$( cd $QUACK_ROOT; pwd -P )"
|
||||
|
||||
export PATH=${QUACK_ROOT}/bin:$PATH
|
||||
|
||||
export PATH="${QUACK_ROOT}/bin:$PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user