hintshell 0.3.1 → 0.3.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/README.md +11 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -84,11 +84,11 @@ source ~/.bashrc
|
|
|
84
84
|
|
|
85
85
|
## 📖 Usage
|
|
86
86
|
|
|
87
|
-
### Git Bash
|
|
87
|
+
### Git Bash / WSL2 Bash
|
|
88
88
|
|
|
89
|
-
After `hs init`, opening a normal interactive Git Bash session automatically starts `hintshell bash`, which renders a local live overlay as you type. `fzf` is not required for this live mode.
|
|
89
|
+
After `hs init`, opening a normal interactive Git Bash or WSL2 Bash session automatically starts `hintshell bash`, which renders a local live overlay as you type. `fzf` is not required for this live mode.
|
|
90
90
|
|
|
91
|
-
- **↑ / ↓** navigate HintShell suggestions; **Esc** closes the overlay; **Enter** executes through
|
|
91
|
+
- **↑ / ↓** navigate HintShell suggestions; **Esc** closes the overlay; **Enter** executes through Bash.
|
|
92
92
|
- **Tab** accepts only a compatible command suggestion. Path input such as `cd src/comp`, flags such as `git --ver`, and empty overlays are forwarded to Bash's native completion.
|
|
93
93
|
- The overlay adapts near the bottom of the terminal: it shows fewer rows when space is limited and stays hidden when a complete frame would scroll the terminal.
|
|
94
94
|
- To bypass the wrapper for one shell, run:
|
|
@@ -97,9 +97,11 @@ After `hs init`, opening a normal interactive Git Bash session automatically sta
|
|
|
97
97
|
HINTSHELL_DISABLE_AUTO_BASH=1 bash
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
-
|
|
100
|
+
- Git Bash keeps its existing Windows ConPTY backend. WSL2 uses a separate Unix pseudo-terminal backend and preserves the terminal's current working directory; neither changes PowerShell integration.
|
|
101
|
+
- Native Linux and macOS Bash retain the existing `Tab`/`fzf` picker instead of starting the live wrapper.
|
|
102
|
+
- Set `HINTSHELL_BASH` to an explicit `bash.exe` path on Git Bash. Set `HINTSHELL_DISABLE_LIVE_OVERLAY=1` to reject the wrapper in unsupported terminals.
|
|
101
103
|
|
|
102
|
-
> **Preview limitation:** the live wrapper
|
|
104
|
+
> **Preview limitation:** the live wrapper requires an ANSI-capable terminal. For full-screen terminal applications, bypass the wrapper and open them from a normal Bash session.
|
|
103
105
|
|
|
104
106
|
### Zsh / Bash (macOS/Linux)
|
|
105
107
|
|
|
@@ -122,11 +124,11 @@ Each request includes the current working directory and shell. HintShell merges
|
|
|
122
124
|
|
|
123
125
|
---
|
|
124
126
|
|
|
125
|
-
## ✨ What's new in 0.3.
|
|
127
|
+
## ✨ What's new in 0.3.2
|
|
126
128
|
|
|
127
|
-
-
|
|
128
|
-
- Git Bash
|
|
129
|
-
-
|
|
129
|
+
- WSL2 Bash now launches the same realtime live overlay as Git Bash while preserving the terminal's current workspace directory.
|
|
130
|
+
- Git Bash remains on the Windows ConPTY backend and PowerShell behavior is unchanged.
|
|
131
|
+
- Native Linux/macOS Bash continues using the existing `Tab`/`fzf` picker. See [CHANGELOG.md](./CHANGELOG.md).
|
|
130
132
|
|
|
131
133
|
## 🔄 Updating
|
|
132
134
|
|