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