diff --git a/modules/zsh.nix b/modules/zsh.nix index c19e837..1f001f3 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -7,6 +7,9 @@ with import {}; # Make user colour green in prompt instead of default blue #zstyle ':prompt:grml:left:items:user' pre '%F{green}%B' export QUOTING_STYLE=literal + new.nix() { + echo -e '{ ... }:\n{\n\n}\n# vim: set et ts=2 sw=2 ai:' >> "$1" + } ''; promptInit = ""; # otherwise it'll override the grml prompt syntaxHighlighting = {