diff --git a/nix/base-system/.zshrc b/nix/base-system/.zshrc index 2ac1635..ffcaf44 100644 --- a/nix/base-system/.zshrc +++ b/nix/base-system/.zshrc @@ -20,3 +20,9 @@ function service_restart() { function root_shell() { sudo -E zsh -i /etc/zshrc } + +function wrkspc() { + local wd=$(pwd) + local session=$(basename $wd) + tmux new -A -s $session +}