From 159305ba5e2203c5007ba1b60ada40c66c910a31 Mon Sep 17 00:00:00 2001 From: mc-fucker Date: Tue, 24 Jan 2023 16:11:57 +0100 Subject: [PATCH] added new.nix shell function --- modules/zsh.nix | 3 +++ 1 file changed, 3 insertions(+) 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 = {