Set PS1 prompt for shells, update tmux themes and status line

This commit is contained in:
2025-11-16 14:35:50 -06:00
parent e5195542ef
commit 99a3f1aba0
8 changed files with 11 additions and 6 deletions

View File

@@ -8,7 +8,8 @@ tmux_omitted_dirs=(
[[ ! ${tmux_omitted_dirs[(re)$(pwd)]} ]] && {
tmux new-window -d -n $EDITOR
tmux send-keys -t :$EDITOR "$EDITOR ." c-M
tmux new-window -d -n daa
tmux new-window -d -n debug
tmux new-window -d -n agt
tmux new-window -d -n procs
tmux rename-window cmd
tmux send-keys -t :cmd "clear; [[ -d .git ]] && git status" c-M

View File

@@ -1 +0,0 @@
/Users/david/.config/z-this-box/themes/.current-theme/tmux.conf

View File

@@ -9,7 +9,7 @@ bind-key C-Space send-prefix
set-option -g base-index 1
set-option -g status-position 'bottom'
set-option -g status-left-length 28
set-option -Fg status-right '#{host} | %Y%m%d %H:%M' # or maybe host_short
set-option -Fg status-right '#{host} | %Y-%m-%d %H:%M' # or maybe host_short
# theme settings
set-option -g status-style "bg=default fg=default" # default, theme files can overwrite

View File

@@ -1,2 +1,5 @@
[ -r "$HOME/.config/profile" ] && . "$HOME/.config/profile"
[ -r "$XDG_CONFIG_HOME/rc" ] && . "$XDG_CONFIG_HOME/rc"
# overwrite PS1 here, since zsh decided to use different special chars
export PS1="%n@%m ${PWD##*/} %# "

View File

@@ -1,2 +1,2 @@
set-window-option -g window-style bg=default # transparency
set-option -g status-style 'bg=default fg=#22cc00'
set-option -g status-style 'bg=default fg=#98971a'

View File

@@ -1,2 +1,2 @@
set-window-option -g window-style bg=default # transparency
set-option -g status-style 'bg=#549E6A fg=#000000'
set-option -g status-style 'bg=default fg=#549e6a'