Repository navigation
Linux ins - #6
Merged
Merged
Conversation
IamShreshth
approved these changes
Oct 22, 2026
Owner
|
@youngoat911 resolve conflicts |
Owner
nvm i resolved it |
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.
Summary
This PR upgrades
tman's responsiveness, shell integration, Git/project workflows, and Linux documentation while keeping zero new runtime or Cargo dependencies:1. Mission Control Telemetry, Caching & Active Ports (
src/sys.rs,src/app.rs)ctx_cache): Caches the Mission Control preview while moving the cursor inMode::MenusoUp/Downnavigation no longer spawnspmsetor disk/directory reads on every keystroke; invalidates automatically onchdiror bookmark updates.used / total (pct%)memory usage on Linux (MemAvailablein/proc/meminfo&libc::sysinfofallback) and macOS (vm_stat+hw.memsize) instead of static total RAM.Mode::Ports): NewPortsaction in Mission Control that inspects listening TCP ports (lsof/ss) with port number, process name, and PID, allowing stuck dev servers to be terminated onEnter(guarded bysafety::classifyconfirmation).2. Shell Parity: Bash Auto-Execute, Fish Support &
cdon Quit (src/init.rs,src/main.rs,src/app.rs)Enter) vs. Edit (Tab): Uses Readline macro chaining (\C-x\C-t\C-x\C-e) intman init bashsoEnterexecutes immediately (mode == x) andTabinserts into the readline buffer (mode == i), matching Zsh's behavior.tman init fish): Adds native Fish wrapper and keybinding widget usingcommandline -randcommandline -f execute.cdon Quit (Q): PressingQinNavigate(Mode::Files) exits the HUD andcds the parent shell directly into the browsed directory (app.cwd).3. Interactive Git Staging, Branch Switcher, Stash Picker & Ahead/Behind (
src/git.rs,src/app.rs,src/ui.rs)Space): PressSpaceinGit -> Changed files(Mode::GitFiles) to togglegit add/git restore --stagedlive without leaving the HUD, plus adds aDiscard changes(git checkout --) file action.Mode::GitBranches): Lists local and remote branches sorted by recent commit with a live commit-log preview pane; pressingEnterrunsgit switch <branch>.Mode::GitStashes): Lists saved stashes with a livegit stash show -pdiff preview pane; pressingEnterrunsgit stash pop <stash>.↑ahead ↓behindin the top status bar.4. Smart Project Discovery,
.tman.toml& Masked.envPreview (src/run.rs)tmanis launched inside a nested subdirectory (e.g.src/),Runfalls back toGitInfo::rootto discover project manifests (Cargo.toml,package.json,Makefile,Justfile,pyproject.toml,go.mod,docker-compose.yml) and automatically prefixescd -- <root> &&when needed.package.jsonscript command orMakefile/Justfiletarget recipe in theRunlist and preview pane..tman.toml&.envInspector: Loads custom[scripts]from.tman.tomland previews.envkeys with secret values masked (KEY = ***).5. Search, Fuzzy Highlighting,
zoxideDirs & Config Fix (src/fs.rs,src/fuzzy.rs,src/config.rs,src/ui.rs).gitignore-Aware File Search: Usesgit ls-files -oi --exclude-standard --directoryinfs::walkwhen hidden files are off so build artifacts (dist/,build/,.next/, etc.) are skipped automatically.fuzzy::score/fuzzy::matched_indices) and highlights matched characters in the active accent color.zoxide): PopulatesMode::Bookmarkswith up to 15 recent directories (↺) fromzoxide query -lalongside pinned bookmarks (*).[ui]Table Scoping Fix: EnsuresConfig::set_accentinserts missingaccent =keys inside[ui]rather than at EOF under[safety].6. Installer Fix & Linux Distro Documentation (
files/install.sh,README.md)files/install.shunderset -u.README.mdwith step-by-step installation, prerequisites, clipboard/desktop packages (wl-clipboard,xclip,xdg-utils), andbash/zsh/fishactivation instructions for Arch Linux, Fedora, and Ubuntu / Debian.Test Plan
cargo test— 13/13 unit tests pass (including new tests for[ui]accent persistence,zsh/bash/fishinit scripts, porcelainahead/behindparsing, multi-token fuzzy matching/indices, and subdirectory Git-root workflow discovery)cargo build --release— compiles cleanly with 0 warnings