Update tmux, claude, add list alias for eza
This commit is contained in:
parent
10b03f5244
commit
1220410938
3 changed files with 43 additions and 8 deletions
|
|
@ -12,7 +12,8 @@ fi
|
||||||
alias count="ls -l | wc -l"
|
alias count="ls -l | wc -l"
|
||||||
alias ll='ls -alF'
|
alias ll='ls -alF'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
alias l='ls -CF'
|
# alias l='ls -CF'
|
||||||
|
alias l='eza --icons -a --group-directories-first'
|
||||||
|
|
||||||
alias c="clear"
|
alias c="clear"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"model": "opus",
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"Notification": [
|
"Notification": [
|
||||||
{
|
{
|
||||||
|
|
@ -6,21 +7,39 @@
|
||||||
"hooks": [
|
"hooks": [
|
||||||
{
|
{
|
||||||
"type": "command",
|
"type": "command",
|
||||||
"command": "paplay /usr/share/sounds/freedesktop/stereo/message.oga & tmux display-message 'Window #I: #W' & notify-send -a 'Claude Code' -i ~/.claude/claude-color.png \"Window $(tmux display-message -p '#I: #W') is needing your professional and ever so wise feedback.\""
|
"command": "~/.claude/claude-notify.sh /usr/share/sounds/freedesktop/stereo/message.oga 'is needing your professional and ever so wise feedback.'",
|
||||||
|
"timeout": 3600,
|
||||||
|
"async": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Stop": [
|
||||||
|
{
|
||||||
|
"matcher": "",
|
||||||
|
"hooks": [
|
||||||
|
{
|
||||||
|
"type": "command",
|
||||||
|
"command": "~/.claude/claude-notify.sh /usr/share/sounds/freedesktop/stereo/complete.oga 'has finished and humbly awaits your review.'",
|
||||||
|
"timeout": 3600,
|
||||||
|
"async": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"statusLine": {
|
||||||
|
"type": "command",
|
||||||
|
"command": "branch=$(git rev-parse --abbrev-ref HEAD 2>/dev/null); printf '\\033[00m%s%s' \"$(pwd)\" \"${branch:+ ($branch)}\""
|
||||||
|
},
|
||||||
"enabledPlugins": {
|
"enabledPlugins": {
|
||||||
"typescript-lsp@claude-plugins-official": true,
|
"typescript-lsp@claude-plugins-official": true,
|
||||||
"gopls-lsp@claude-plugins-official": true
|
"gopls-lsp@claude-plugins-official": true
|
||||||
},
|
},
|
||||||
|
"effortLevel": "high",
|
||||||
|
"tui": "default",
|
||||||
|
"theme": "dark",
|
||||||
"feedbackSurveyState": {
|
"feedbackSurveyState": {
|
||||||
"lastShownTime": 1754297707811
|
"lastShownTime": 1754297707811
|
||||||
},
|
|
||||||
"statusLine": {
|
|
||||||
"type": "command",
|
|
||||||
"command": "branch=$(git rev-parse --abbrev-ref HEAD 2>/dev/null); printf '\\033[00m%s%s' \"$(pwd)\" \"${branch:+ ($branch)}\""
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
19
.tmux.conf
19
.tmux.conf
|
|
@ -10,9 +10,19 @@ bind-key C-a send-prefix
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
set -g status-style bg=white,fg=black
|
set -g status-style bg=white,fg=black
|
||||||
set -g pane-active-border-style fg=yellow
|
set -g window-active-style bg=black
|
||||||
|
set -g window-style bg=#212121
|
||||||
|
|
||||||
set -g pane-border-style fg=gray
|
set -g pane-border-style fg=gray
|
||||||
set -g pane-border-lines heavy
|
set -g pane-border-lines heavy
|
||||||
|
set -g pane-active-border-style fg=yellow
|
||||||
|
# set -g pane-border-lines double
|
||||||
|
set -g pane-border-status bottom
|
||||||
|
set -g pane-border-format ''
|
||||||
|
|
||||||
|
set -g window-status-current-format '[#I:#W]'
|
||||||
|
set -g window-status-format '#I:#W'
|
||||||
|
set -g window-status-current-style fg=yellow
|
||||||
|
|
||||||
# List of plugins
|
# List of plugins
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
|
@ -24,7 +34,12 @@ set -g status-style bg=default
|
||||||
# set-window-option -g visual-bell on
|
# set-window-option -g visual-bell on
|
||||||
|
|
||||||
bind-key H display-popup -E "htop"
|
bind-key H display-popup -E "htop"
|
||||||
bind-key N display-popup
|
# bind-key N display-popup "~/go/bin/klod"
|
||||||
|
bind-key N display-popup -E 'tmux new-session -A -s scratch ~/go/bin/klod \; set status off'
|
||||||
|
|
||||||
|
bind '"' split-window -c "#{pane_current_path}"
|
||||||
|
bind % split-window -h -c "#{pane_current_path}"
|
||||||
|
bind c new-window -c "~/Documents"
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue