Move Tmux automatic load from ZSH to Foot
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# === General settings ===
|
||||
[main]
|
||||
shell=/bin/zsh # Default shell to launch in the terminal
|
||||
shell=/bin/zsh -c "exec ~/.profile.d/tmux.sh" # Default shell to launch in the terminal
|
||||
font=0xProto Nerd Font:size=14 # Font family and size used in the terminal
|
||||
initial-window-size-chars=160x45 # Initial size in character columns x rows
|
||||
selection-target=clipboard # Copy selected text directly to system clipboard
|
||||
|
||||
0
zsh/.profile.d/cargo.sh
Normal file → Executable file
0
zsh/.profile.d/cargo.sh
Normal file → Executable file
0
zsh/.profile.d/golang.sh
Normal file → Executable file
0
zsh/.profile.d/golang.sh
Normal file → Executable file
0
zsh/.profile.d/java.sh
Normal file → Executable file
0
zsh/.profile.d/java.sh
Normal file → Executable file
0
zsh/.profile.d/mise.sh
Normal file → Executable file
0
zsh/.profile.d/mise.sh
Normal file → Executable file
5
zsh/.profile.d/tmux.sh
Executable file
5
zsh/.profile.d/tmux.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||
tmux attach-session -t default || tmux new-session -s default
|
||||
fi
|
||||
0
zsh/.profile.d/zoxide.sh
Normal file → Executable file
0
zsh/.profile.d/zoxide.sh
Normal file → Executable file
@@ -84,6 +84,3 @@ alias userlist="cut -d: -f1 /etc/passwd | sort"
|
||||
alias ip='ip -color'
|
||||
alias stow='stow -d $DOTFILES '
|
||||
|
||||
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
|
||||
tmux attach-session -t default || tmux new-session -s default
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user