Skip to content
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

Can't use script name if a shell alias with such name already exists #1676

Open
Andrew15-5 opened this issue Jan 17, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Andrew15-5
Copy link

Andrew15-5 commented Jan 17, 2025

Describe the bug
I have an alias c, but adding scripts.c.exec doesn't do anything, as the existing alias is not being overridden. I don't even know if it's possible to temporary unalias the thing in the devenv project and then restore it outside.

To reproduce

Have alias c=something

# devenv.nix
{ ... }:

{
  scripts.c.exec = "devenv tasks run typst:compile";
}
# devenv.yaml
inputs:
  nixpkgs:
    url: github:cachix/devenv-nixpkgs/rolling

Version

devenv 1.3.1 (x86_64-linux)

@Andrew15-5 Andrew15-5 added the bug Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant