added new.nix shell function

This commit is contained in:
mc-fucker 2023-01-24 16:11:57 +01:00
parent 7c2259b575
commit 159305ba5e

View file

@ -7,6 +7,9 @@ with import <nixpkgs> {};
# Make user colour green in prompt instead of default blue # Make user colour green in prompt instead of default blue
#zstyle ':prompt:grml:left:items:user' pre '%F{green}%B' #zstyle ':prompt:grml:left:items:user' pre '%F{green}%B'
export QUOTING_STYLE=literal 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 promptInit = ""; # otherwise it'll override the grml prompt
syntaxHighlighting = { syntaxHighlighting = {