From b8d9878cea5a65e2e6ab4b98aace676f34038824 Mon Sep 17 00:00:00 2001 From: tzlil Date: Sat, 9 Sep 2023 01:47:07 +0300 Subject: add arxiv randomizer and some other crap i forgot --- mixins/cli.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mixins/cli.nix') diff --git a/mixins/cli.nix b/mixins/cli.nix index ceb485b..ab01eb4 100644 --- a/mixins/cli.nix +++ b/mixins/cli.nix @@ -17,6 +17,7 @@ curl ripgrep bat + jq # p2p file transfer croc @@ -73,6 +74,7 @@ gs = "git status"; l = "ls -alh"; b = "bat"; + alv = "ping -c 1 -W 1"; }; functions = { fish_greeting = ""; @@ -86,6 +88,7 @@ nr = "nix run nixpkgs#$argv[1] $argv[2..]"; 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