#!/bin/zsh local omitted_dirs=( $HOME $HOMEBOX $DEVDIR $DEVDIR/git ) [[ ! ${omitted_dirs[(re)$(pwd)]} ]] && tmux new-window -d -n cmd && tmux rename-window $EDITOR && $EDITOR . clear