Timeline for How can I install the `ll` command on Mac OS X?
Current License: CC BY-SA 4.0
27 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 29, 2022 at 15:48 | comment | added | Yakir GIladi Edry |
I am suggesting to add -a - alias ll='ls -alG'
|
|
| S Dec 6, 2021 at 8:54 | history | edited | Stephen Kitt | CC BY-SA 4.0 |
Update the answer for current Macs running Zsh, without making it Mac-specific.
|
| Dec 6, 2021 at 8:28 | review | Suggested edits | |||
| S Dec 6, 2021 at 8:54 | |||||
| Apr 21, 2021 at 12:46 | comment | added | Arvind K. | I had to add in ~/.bash_profile . OS. -MacOS BigSur, 11.2.2 | |
| Apr 21, 2021 at 1:14 | comment | added | Daniel Falabella | For those who are finding this answer in 2021 - you need to add it to .zprofile instead of .bash_profile. See: stackoverflow.com/a/58310864/4282321 | |
| Dec 29, 2019 at 16:21 | review | Suggested edits | |||
| Dec 30, 2019 at 0:07 | |||||
| Nov 1, 2019 at 7:14 | review | Suggested edits | |||
| Nov 1, 2019 at 14:08 | |||||
| Sep 16, 2019 at 8:06 | comment | added | Nathan G | I only have ~/.bash_history and ~/.bash_sessions in my new Macbook. Ideas? | |
| May 26, 2017 at 5:41 | comment | added | rhand |
And after you added the alias, saved and exited do a source ~/.bashrc to activate it without exiting Bash.
|
|
| Apr 24, 2017 at 2:01 | review | Suggested edits | |||
| Apr 24, 2017 at 3:51 | |||||
| Jul 3, 2016 at 17:18 | comment | added | davidryan |
I use alias ll='ls -alG' as I like to see the hidden files as well.
|
|
| Apr 27, 2016 at 14:36 | review | Suggested edits | |||
| Apr 27, 2016 at 15:06 | |||||
| Dec 4, 2015 at 9:55 | review | Suggested edits | |||
| Dec 4, 2015 at 10:41 | |||||
| Jul 25, 2014 at 15:54 | comment | added | Gregg Leventhal | @Eonil Macs use ~/.bash_profile, but you could add source ~/.bashrc into that file to make bashrc get sourced in. | |
| Mar 25, 2014 at 9:18 | comment | added | yair | On root user it didn't work for me, any idea why? | |
| Mar 6, 2014 at 21:28 | comment | added | Avishai |
Even lazier: $ echo "alias ll='ls -lG'" >> ~/.bashrc
|
|
| S Feb 22, 2014 at 19:44 | history | edited | Hauke Laging | CC BY-SA 3.0 |
--color=auto does not work on Mac OSX
|
| S Feb 22, 2014 at 19:44 | history | suggested | CommunityBot | CC BY-SA 3.0 |
--color=auto does not work on Mac OSX
|
| Feb 22, 2014 at 19:31 | review | Suggested edits | |||
| Feb 22, 2014 at 19:44 | |||||
| Jul 28, 2012 at 1:58 | comment | added | jessica |
I needed to add alias ll='ls -lG' to my ~/.bash_profile to make it work (in Lion, if that matters)
|
|
| Apr 21, 2012 at 8:35 | review | Suggested edits | |||
| Apr 21, 2012 at 8:36 | |||||
| Jan 6, 2012 at 13:01 | comment | added | Burhan Khalid |
You need alias ll='ls -lG' for the same effect in macosx.
|
|
| Jan 6, 2012 at 12:12 | comment | added | Eonil |
One more, I had to add the command ~/.profile instead of ~/.bashrc to make it work. Maybe this is Mac OS X specific.
|
|
| Jan 6, 2012 at 7:12 | comment | added | Ignacio Vazquez-Abrams |
Ah right, BSD ls doesn't support --color.
|
|
| Jan 6, 2012 at 7:10 | comment | added | Eonil |
It worked!, anyway --color=auto parameter made an error. Other parts worked well.
|
|
| Jan 6, 2012 at 7:09 | vote | accept | Eonil | ||
| Jan 6, 2012 at 6:23 | history | answered | Ignacio Vazquez-Abrams | CC BY-SA 3.0 |