Show all files/sub-directories in current directory when prompt is blank #510
-
The default behavior for a blank prompt is to show the (non-hidden) directories in the current directory, like in this screenshot: I find this feature useful, but I also want a blank prompt to show the files inside the current directory, like the completions shown for the prompt "vim " : Is there a config option to do that? |
Beta Was this translation helpful? Give feedback.
Answered by
marlonrichert
Nov 14, 2022
Replies: 1 comment
-
Yes, there is. Add to your setopt GLOB_DOTS Read the Zsh manual for more info. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Fubs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, there is. Add to your
.zshrc
file:Read the Zsh manual for more info.