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

@@ -1,6 +1,5 @@
# todo items # todo items
- config for shell (using zsh for now, but considering oksh)
- config for calcurse - config for calcurse
- config for mpd, and client(s), (mpd clients to consider: mpc, ncmpcpp, ncmpc, inori) - config for mpd, and client(s), (mpd clients to consider: mpc, ncmpcpp, ncmpc, inori)
- hyprland config and install on linux - hyprland config and install on linux

View File

@@ -8,7 +8,8 @@ tmux_omitted_dirs=(
[[ ! ${tmux_omitted_dirs[(re)$(pwd)]} ]] && { [[ ! ${tmux_omitted_dirs[(re)$(pwd)]} ]] && {
tmux new-window -d -n $EDITOR tmux new-window -d -n $EDITOR
tmux send-keys -t :$EDITOR "$EDITOR ." c-M 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 new-window -d -n procs
tmux rename-window cmd tmux rename-window cmd
tmux send-keys -t :cmd "clear; [[ -d .git ]] && git status" c-M 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 base-index 1
set-option -g status-position 'bottom' set-option -g status-position 'bottom'
set-option -g status-left-length 28 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 # theme settings
set-option -g status-style "bg=default fg=default" # default, theme files can overwrite 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 "$HOME/.config/profile" ] && . "$HOME/.config/profile"
[ -r "$XDG_CONFIG_HOME/rc" ] && . "$XDG_CONFIG_HOME/rc" [ -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-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-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'

View File

@@ -8,6 +8,9 @@ export PATH=$PATH:/opt/homebrew/opt/ccache/libexec:/opt/homebrew/bin
# set env vars specific to this box, if any # set env vars specific to this box, if any
[[ -a $HOME/.local-box-vars ]] && . $HOME/.local-box-vars [[ -a $HOME/.local-box-vars ]] && . $HOME/.local-box-vars
# prompt settings
export PS1="\u@\h \W \\$ "
# shortcuts for common commands # shortcuts for common commands
alias 3e='echo;echo;echo' alias 3e='echo;echo;echo'
alias 12e='3e;3e;3e;3e' alias 12e='3e;3e;3e;3e'