From 5b53dd89ce7e3ddc3eaac1550cf662b4e6b2ddbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 10 Oct 2018 13:03:02 +0200 Subject: [PATCH] + shellcheck + nix-prefetch-git + o/n-aliases --- configs/packages.nix | 3 ++- configs/shells.nix | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/packages.nix b/configs/packages.nix index d324f1f..f2796b1 100644 --- a/configs/packages.nix +++ b/configs/packages.nix @@ -94,6 +94,7 @@ with pkgs; maxima mypy nasm + nix-prefetch-git nodejs ocaml par @@ -104,10 +105,10 @@ with pkgs; rustup scala seafile-client + shellcheck spotify swiProlog tinycc zeroad ]; - } diff --git a/configs/shells.nix b/configs/shells.nix index f252e88..4575055 100644 --- a/configs/shells.nix +++ b/configs/shells.nix @@ -4,6 +4,8 @@ in { environment.shellAliases = let rlwrap = cmd: "${pkgs.rlwrap}/bin/rlwrap ${cmd}"; in { + o = "xdg-open"; + n = "nix-shell"; ":r" = ''echo "You stupid!"''; clipboard = "${pkgs.xclip}/bin/xclip -se c"; external-ip = "${pkgs.dnsutils}/bin/dig +short myip.opendns.com @resolver1.opendns.com";