Explorar o código

feat: enable comments in zsh prompts

Kyle P Davis %!s(int64=2) %!d(string=hai) anos
pai
achega
5744d1b7d7
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      .profile

+ 3 - 0
.profile

@@ -150,6 +150,9 @@ if [ "$ZSH_VERSION" ]; then
 	# allow trailing slashes on ".."
 	zstyle ':completion:*' special-dirs true
 
+	# enable inline comments since other shells allow it and sometimes they're nice to have
+	setopt interactive_comments
+
 	# ensure proper ls-style colors in completion
 	zstyle ':completion:*' list-colors 'di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30'