Skip to content

[Feature request]: Allow atuin dotfiles alias to be OS platform specific #2713

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

Open
mattzago opened this issue Apr 21, 2025 · 0 comments
Open

Comments

@mattzago
Copy link

I really like the idea of atuin dotfiles alias, but I find it's very common to use shell functions with operating system detection to set different alias values.

For example on macOS for ls one might set ll=ls -laG but on Linux they may use ll=ls -la --color=auto for the equivalent because of the difference between GNU ls and macOS ls color arguments.

I can work around this with different alias names, but it would be useful to have alias values be conditional depending on the detected operating system atuin is running on.

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

No branches or pull requests

1 participant