Skip to content

Conversation

@ansemb
Copy link
Member

@ansemb ansemb commented Dec 16, 2025

Summary

This PR adds fish shell support for the artifacts helper shims/aliases.

Changes

  • Creates fish function files in ~/.config/fish/functions/ for each enabled alias
  • Supports all existing aliases: dotnet, nuget, npm, yarn, npx, rush, rush-pnpm, pnpm, pnpx
  • Respects existing sudo logic for non-root vs root installations

How it works

For each alias, a fish function file is created (e.g., dotnet.fish):

function dotnet --wraps=/usr/local/share/codespace-shims/dotnet
    /usr/local/share/codespace-shims/dotnet $argv
end

@markphip
Copy link
Contributor

With the current version moving to shims, what is the need for aliases? The aliases still present were only left in tact to support a specific backwards compatibility scenario. Why would new aliases be needed?

@ansemb
Copy link
Member Author

ansemb commented Dec 16, 2025

With the current version moving to shims, what is the need for aliases? The aliases still present were only left in tact to support a specific backwards compatibility scenario. Why would new aliases be needed?

Ahh, yes good point. I didn't realise this recent change, so this isn't needed. Thanks!

@ansemb ansemb closed this Dec 16, 2025
@ansemb ansemb deleted the feature/fish-shell-support branch December 16, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants