mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Allow tmux layout to work outside of tmux
This commit is contained in:
@@ -129,6 +129,11 @@ lip() {
|
||||
|
||||
# Create a tmux layout for dev with editor, ai, and terminal
|
||||
tml() {
|
||||
if [[ -z $TMUX ]]; then
|
||||
tmux new-session "bash -ic 'tml $1; exec bash'"
|
||||
return
|
||||
fi
|
||||
|
||||
local current_dir="${PWD}"
|
||||
local editor_pane ai_pane
|
||||
local ai="$1"
|
||||
|
||||
Reference in New Issue
Block a user