@abyrd9/harbor-cli 2.3.3 → 2.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/dev.sh +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyrd9/harbor-cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"description": "A CLI tool for orchestrating local development services in a tmux session. Perfect for microservices and polyglot projects with automatic service discovery and before/after script support.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/scripts/dev.sh
CHANGED
|
@@ -98,11 +98,17 @@ $tmux_cmd bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-
|
|
|
98
98
|
$tmux_cmd bind-key -n S-Left select-window -t :-
|
|
99
99
|
$tmux_cmd bind-key -n S-Right select-window -t :+
|
|
100
100
|
|
|
101
|
+
# Add Ctrl+t to create new terminal window (marked with + prefix)
|
|
102
|
+
$tmux_cmd bind-key -n C-t new-window -n "+Terminal"
|
|
103
|
+
|
|
104
|
+
# Add Ctrl+w to close current window ONLY if it's user-created (starts with +)
|
|
105
|
+
$tmux_cmd bind-key -n C-w if-shell 'tmux display-message -p "#{window_name}" | grep -q "^+"' 'kill-window' 'display-message "Cannot close service windows (only +Terminal tabs)"'
|
|
106
|
+
|
|
101
107
|
# Configure status bar
|
|
102
108
|
$tmux_cmd set-option -g status-position top
|
|
103
109
|
$tmux_cmd set-option -g status-style bg="#1c1917",fg="#a8a29e"
|
|
104
110
|
$tmux_cmd set-option -g status-left ""
|
|
105
|
-
$tmux_cmd set-option -g status-right "#[fg=#
|
|
111
|
+
$tmux_cmd set-option -g status-right "#[fg=#57534e]ctrl+t new · ctrl+w close · shift+←/→ switch · ctrl+q quit#[fg=#78716c] · %H:%M#[default]"
|
|
106
112
|
$tmux_cmd set-window-option -g window-status-current-format "\
|
|
107
113
|
#[fg=#6366f1, bg=#1c1917] →\
|
|
108
114
|
#[fg=#6366f1, bg=#1c1917, bold] #W\
|