-
-
Notifications
You must be signed in to change notification settings - Fork 0
Clean up Fish shell configuration #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Merging to
|
Co-authored-by: daveio <66192+daveio@users.noreply.github.com>
Code Review: Clean up Fish shell configurationThis PR improves organization and removes duplication in the Fish configuration. Overall, it's a solid cleanup. ✅ What's Good
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR cleans up Fish shell configuration files by eliminating duplications, resolving conflicts, and improving code organization. The cleanup removes 22 lines of redundant or problematic code while consolidating scattered configurations into a more maintainable structure.
Changes:
- Resolved duplicate abbreviations (
brmig/brmis) and conflicting names (ccfunction vs abbreviation) - Consolidated scattered PATH additions (lmstudio, windsurf, opencode) and kiro shell integration into final.fish
- Removed dead code including commented-out environment variables and redundant GITHUB_TOKEN configuration
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| vars.fish | Removed commented-out environment variables and redundant GITHUB_TOKEN shell wrapping that conflicts with existing github-auth function |
| interactive.fish | Removed PATH additions and kiro integration that were moved to final.fish for better organization |
| final.fish | Consolidated PATH additions using fish_add_path (best practice) and kiro shell integration, improving upon hardcoded paths with $HOME variable |
| config.fish | Removed duplicate PATH additions and kiro integration now properly placed in final.fish |
| abbrs.fish | Renamed duplicate brmig to brmis for 'brew missing' and changed cc to cl to avoid conflict with existing cc function |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Removed duplication, resolved conflicts, and improved organization across Fish config files.
Changes
Duplication removed:
brmigabbreviation appeared twice → renamed second tobrmis('brew missing')Conflicts resolved:
ccabbreviation (claude) conflicted withccfunction (clear screen) → renamed abbreviation toclDead code removed:
AQUA_GLOBAL_CONFIG,PYTHON_BUILD_FREE_THREADING,RUSTC_WRAPPERGITHUB_TOKENshell wrapping (conflicts with existinggithub-authfunction)Net result: -22 lines across 5 files
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.