feat: add nix shell shortcut called p
This commit is contained in:
parent
254886e511
commit
3ce24992e7
|
@ -36,6 +36,7 @@ in {
|
||||||
./nnn/0001-feat-use-wasd-keybindings-for-jkli.patch
|
./nnn/0001-feat-use-wasd-keybindings-for-jkli.patch
|
||||||
];
|
];
|
||||||
}))
|
}))
|
||||||
|
p
|
||||||
powerline
|
powerline
|
||||||
screen
|
screen
|
||||||
silver-searcher
|
silver-searcher
|
||||||
|
|
|
@ -9,6 +9,7 @@ with prev; {
|
||||||
mailto-mutt = writeShellScriptBin "mailto-mutt" (import ./mailto-mutt.nix final);
|
mailto-mutt = writeShellScriptBin "mailto-mutt" (import ./mailto-mutt.nix final);
|
||||||
mopidy-jellyfin = import ./mopidy-jellyfin.nix final;
|
mopidy-jellyfin = import ./mopidy-jellyfin.nix final;
|
||||||
mu = writeShellScriptBin "mu" (import ./mu.nix final);
|
mu = writeShellScriptBin "mu" (import ./mu.nix final);
|
||||||
|
p = writeShellScriptBin "p" (import ./p.nix final);
|
||||||
present-md = writeShellScriptBin "present-md" (import ./present-md.nix final);
|
present-md = writeShellScriptBin "present-md" (import ./present-md.nix final);
|
||||||
psos = writeShellScriptBin "psos" (import ./psos.nix final);
|
psos = writeShellScriptBin "psos" (import ./psos.nix final);
|
||||||
psos-docs = import ./psos-docs.nix final;
|
psos-docs = import ./psos-docs.nix final;
|
||||||
|
|
10
pkgs/p.nix
Normal file
10
pkgs/p.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
self:
|
||||||
|
with self; ''
|
||||||
|
PKGS=""
|
||||||
|
for pkg in "$@"
|
||||||
|
do
|
||||||
|
PKGS="$PKGS nixpkgs#$pkg"
|
||||||
|
done
|
||||||
|
|
||||||
|
${nix}/bin/nix shell $PKGS
|
||||||
|
''
|
Loading…
Reference in a new issue