added new.nix shell function
This commit is contained in:
parent
7c2259b575
commit
159305ba5e
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ with import <nixpkgs> {};
|
|||
# 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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue