From e427b0e4ce8f7245200f1da86b8be4ecb1630b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 5 Feb 2024 15:58:05 +0100 Subject: [PATCH] _cd_to_site: Try to change dir another way --- qsgen2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index 7b4f11a..47c9454 100755 --- a/qsgen2 +++ b/qsgen2 @@ -201,7 +201,8 @@ case "$1" in exit ;; cd) - eval $( _cd_to_site ${2} ) + alias qsgen2cd='_cd_to_site_output() { eval $(_cd_to_site "$@"); }; _cd_to_site_output' + qsgen2cd exit ;; force)