From 61a06724bc39e94da259efba3693857bae21949f Mon Sep 17 00:00:00 2001 From: tzlil Date: Sat, 12 Aug 2023 22:36:08 +0300 Subject: add pragmata and py and uhhhhh --- mixins/cli.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mixins/cli.nix') diff --git a/mixins/cli.nix b/mixins/cli.nix index 6c784eb..abc2650 100644 --- a/mixins/cli.nix +++ b/mixins/cli.nix @@ -17,8 +17,12 @@ curl ripgrep bat + + # p2p file transfer croc + nix-output-monitor + # crap i need in my shell for general usage, mostly data science (pkgs.python3.withPackages (ps: with ps; [ @@ -66,6 +70,7 @@ enable = true; shellAliases = { gc = "git clone"; + gs = "git status"; l = "ls -alh"; b = "bat"; }; @@ -78,6 +83,8 @@ end nix shell $p ''; + tmp = "cd (mktemp -d --suffix -$argv[1])"; + py = ''python -c "print(eval(\"\"\"$argv\"\"\"))"''; # fish_command_not_found = "nix shell nixpkgs#(command-not-found $argv[1] &| sed -nr 's/.*-p (.*)$/\\1/p' | ${lib.getExe pkgs.fzf} || return 0) -c $argv[1]"; }; }; -- cgit 1.4.1