Timeline for How to alias the "Apple version" of 'ls -lO'?
Current License: CC BY-SA 4.0
Post Revisions
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 14, 2025 at 8:55 | comment | added | user1934428 |
The syntax is wrong. It is alias WORD=REPLACEMENT, but you have two words to the left of the equal sign. You could write a shell script or function ("shell script" would be more generally usable) with name ls, which inspects the parameters and based on them calls the desired ls` version. However I find this fiddling with ls error prone; for instance, which ls should be executed for ls -Ol?
|
|
| Feb 14, 2025 at 8:28 | history | edited | nohillside♦ |
edited tags
|
|
| S Feb 14, 2025 at 8:26 | answer | added | Seamus | timeline score: 4 | |
| S Feb 14, 2025 at 8:26 | history | asked | Seamus | CC BY-SA 4.0 |