2025-01-18 14:14:54 -06:00
|
|
|
#!/bin/zsh
|
|
|
|
|
|
|
|
local omitted_dirs=(
|
|
|
|
$HOME
|
|
|
|
$HOMEBOX
|
|
|
|
$DEVDIR
|
2025-01-20 18:41:34 -06:00
|
|
|
$DEVDIR/git
|
2025-01-18 14:14:54 -06:00
|
|
|
)
|
|
|
|
[[ ! ${omitted_dirs[(re)$(pwd)]} ]] &&
|
|
|
|
tmux new-window -d -n cmd &&
|
|
|
|
tmux rename-window $EDITOR &&
|
|
|
|
$EDITOR .
|
|
|
|
|
|
|
|
clear
|
|
|
|
|