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 }