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