@abyrd9/harbor-cli 2.4.1 → 2.4.2
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 +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyrd9/harbor-cli",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
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,17 +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-
|
|
101
|
+
# Add Ctrl+Shift+t to create new terminal window (marked with + prefix)
|
|
102
|
+
$tmux_cmd bind-key -n C-T new-window -n "+Terminal"
|
|
103
103
|
|
|
104
|
-
# Add Ctrl+w to close current window ONLY if it's user-created (starts with +)
|
|
105
|
-
$tmux_cmd bind-key -n C-
|
|
104
|
+
# Add Ctrl+Shift+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
106
|
|
|
107
107
|
# Configure status bar
|
|
108
108
|
$tmux_cmd set-option -g status-position top
|
|
109
109
|
$tmux_cmd set-option -g status-style bg="#1c1917",fg="#a8a29e"
|
|
110
110
|
$tmux_cmd set-option -g status-left ""
|
|
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]"
|
|
111
|
+
$tmux_cmd set-option -g status-right "#[fg=#57534e]ctrl+shift+t new · ctrl+shift+w close · shift+←/→ switch · ctrl+q quit#[fg=#78716c] · %H:%M#[default]"
|
|
112
112
|
$tmux_cmd set-window-option -g window-status-current-format "\
|
|
113
113
|
#[fg=#6366f1, bg=#1c1917] →\
|
|
114
114
|
#[fg=#6366f1, bg=#1c1917, bold] #W\
|