Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xutopia
on Sept 7, 2023
|
parent
|
context
|
favorite
| on:
Exa Is Deprecated
Not hard to fix:
if command -v exa &> /dev/null; then alias ls='exa' fi
Graziano_M
on Sept 7, 2023
[–]
I do it differently. It supports not having to reload aliases after installing.
alias vim='$(command -v nvim || echo vim)'
JetSpiegel
on Sept 11, 2023
|
parent
[–]
Checking everytime you use the alias, instead on when you init the shell. How often do you need to install a packages?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: