From c00fef534045cfe4c51c2c44d7e9b34986cee03f Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Fri, 18 Dec 2020 12:58:11 -0500 Subject: [PATCH] add pip_install alias --- modules/cli.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/cli.nix b/modules/cli.nix index 0e83542..1d7e9f1 100644 --- a/modules/cli.nix +++ b/modules/cli.nix @@ -89,6 +89,7 @@ in alias tmp='cd $(mktemp -d)' alias buildsys='nix build -f "" --no-link system' alias sha256sum-base32='nix hash-file --type sha256 --base32' + alias pip_install='nix run nixpkgs.python3.pkgs.pip -c pip install --user -UI pip setuptools' function _update_ps1() { PS1="\n$(${pkgs.powerline-go}/bin/powerline-go ${lib.concatStringsSep " " powerlineOpts})$ "