aboutsummaryrefslogtreecommitdiff
path: root/.vim/snippets/shell.nix
blob: 6647b8c355d336fac5955ef02dd38cab03626f2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
let

  name = "";

  pkgs = import <nixpkgs> { };

in pkgs.mkShell {

  inherit name;

  buildInputs = [ ];

  shellHook = ''
    export PS1='\h (${name}) \W \$ '
  '';
}