Set PS1 prompt for shells, update tmux themes and status line
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
/Users/david/.config/z-this-box/themes/.current-theme/tmux.conf
|
||||
@@ -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
|
||||
|
||||
@@ -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##*/} %# "
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -8,6 +8,9 @@ export PATH=$PATH:/opt/homebrew/opt/ccache/libexec:/opt/homebrew/bin
|
||||
# set env vars specific to this box, if any
|
||||
[[ -a $HOME/.local-box-vars ]] && . $HOME/.local-box-vars
|
||||
|
||||
# prompt settings
|
||||
export PS1="\u@\h \W \\$ "
|
||||
|
||||
# shortcuts for common commands
|
||||
alias 3e='echo;echo;echo'
|
||||
alias 12e='3e;3e;3e;3e'
|
||||
|
||||
Reference in New Issue
Block a user