Add inshellisense IDE-style autocomplete to shared shell profile - #30
Open
josephschmitt wants to merge 1 commit into
Open
Add inshellisense IDE-style autocomplete to shared shell profile#30josephschmitt wants to merge 1 commit into
josephschmitt wants to merge 1 commit into
Conversation
Wire up microsoft/inshellisense across all three shells (bash, zsh, fish). inshellisense auto-starts a session that wraps the interactive shell, so the source line must be the last command in each rc file — it's appended after the profile-override loops in .bashrc, .zshrc, and fish/config.fish. - Gate the block behind is_integrated_terminal so it's skipped in VS Code / Neovim / Emacs / Zed terminals, mirroring auto_start_tmux. - Source ~/.inshellisense/init/<shell>/init.<ext> only if it exists, so shells are unaffected until `is init` is run and the non-interactive CI startup-time harness stays inert (inshellisense is intentionally not installed in CI, where a wrapping PTY session would hang the measurement). - Declare the `is` binary for macOS in nix-darwin systemPackages; npm install is documented for Ubuntu / remote sandboxes. - Document the integration (must-be-last, editor-terminal gating, provisioning) in the shell README, and cross-reference from the root, fish, and nix-darwin READMEs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RKQHwwanmxtTm74iM6SdH7
josephschmitt
force-pushed
the
claude/inshellisense-install-8csjfl
branch
from
July 2, 2026 12:48
e706047 to
987bc27
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wire up microsoft/inshellisense across all three shells (bash, zsh, fish).
inshellisense auto-starts a session that wraps the interactive shell, so the
source line must be the last command in each rc file — it's appended after the
profile-override loops in .bashrc, .zshrc, and fish/config.fish.
Neovim / Emacs / Zed terminals, mirroring auto_start_tmux.
are unaffected until
is initis run and the non-interactive CI startup-timeharness stays inert (inshellisense is intentionally not installed in CI, where
a wrapping PTY session would hang the measurement).
isbinary for macOS in nix-darwin systemPackages; npm install isdocumented for Ubuntu / remote sandboxes.
in the shell README, and cross-reference from the root, fish, and nix-darwin
READMEs.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01RKQHwwanmxtTm74iM6SdH7
Greptile Summary
This PR wires up inshellisense IDE-style autocomplete across bash, zsh, and fish by appending an init block to each shell's RC file as the final statement.
~/.inshellisense/init/<shell>/init.<ext>) so shells stay unaffected on unprovisioned machines, and byis_integrated_terminalso it is skipped in VS Code, Neovim, Emacs, and Zed terminals — matching the existingauto_start_tmuxpattern.inshellisensepackage is declared indarwin.nixfor macOS; npm installation is documented for Ubuntu/remote sandboxes.ISTERM) handled by the upstream init file, and warns users not to re-append the source line viais init <shell> >> ~/.<shell>rc.Confidence Score: 5/5
Safe to merge — the changes are additive shell startup snippets with proper existence and editor-terminal guards, and a single nixpkgs package addition that resolves correctly.
All three shell integrations follow the established pattern in the repo: file-existence guard prevents breakage on unprovisioned machines,
is_integrated_terminalcorrectly gates out editor terminals, and the must-be-last placement is consistent with how inshellisense works. Theinshellisensenixpkgs attribute name is valid.No files require special attention.
Reviews (1): Last reviewed commit: "Add inshellisense IDE-style autocomplete..." | Re-trigger Greptile