I can't believe I can't find a good solution... I have a hidden folder named .venv
that I would like to show in my Mac OS Monterey 12.3.1 terminal output.
I've tried:
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
but when I open the terminal in the directory containing .venv
and type ls
, the hidden folder is not returned. What gives?
Have you tried using the -a flag for ls?
$ ls -a
$ ls -al
$ ll
ls
itself usually ignores entries starting with '.', and the -a
or --all
flag ignores that protection.
macOS doesn't come with the alias (3.). To enable this shortcut:
~/.zsh_aliases
alias ll='ls -la'
source ~/.zshrc
Use ls --help
in your terminal to review all available flags.