From b8a0cd9113b82a6dc993a92ef32f12249c8e92cd Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Tue, 24 Sep 2024 17:03:47 -0400 Subject: [PATCH] feat: wrkspc can navigate now too --- nix/base-system/.zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/base-system/.zshrc b/nix/base-system/.zshrc index 9cd6109..04cb1d8 100644 --- a/nix/base-system/.zshrc +++ b/nix/base-system/.zshrc @@ -22,7 +22,8 @@ function root_shell() { } function wrkspc() { - local wd=$(pwd) + local wd=${1:-$(pwd)} + cd ${wd} local session=$(basename $wd) tmux new -A -s $session }