Hacker News new | ask | show | jobs
by yonatan8070 396 days ago
For shell stuff, I use fish, and my fish config has a bunch of if...end blocks around most things, for example:

```if command -q exa alias ls="exa" alias ll="exa -lah" alias tree="exa --tree" end

if command -q eza alias ls="eza" alias ll="eza -lah" alias tree="eza --tree" end```

2 comments

This plugin simplifies that workflow:

https://github.com/jabirali/fish-abbrfile

That's pretty neat, thanks!
Fish seems to keep it contained to .config/fish which is nice. Most others tend to spread out outside of .config

I’ve started modeling fish with zsh and OMZ customs