From 19ec9386178d0d3b5ae10a43db1dadd6fc1959c6 Mon Sep 17 00:00:00 2001 From: makefu <github@syntax-fehler.de> Date: Wed, 16 Dec 2015 10:42:40 +0100 Subject: [PATCH] m 2 default: add aliases, pythonstartup env --- 2configs/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/2configs/default.nix b/2configs/default.nix index 5196352..c0d7685 100644 --- a/2configs/default.nix +++ b/2configs/default.nix @@ -104,6 +104,8 @@ with lib; HISTSIZE=900001 HISTFILESIZE=$HISTSIZE + PYTHONSTARTUP="~/.pythonrc"; + shopt -s checkhash shopt -s histappend histreedit histverify shopt -s no_empty_cmd_completion @@ -123,6 +125,9 @@ with lib; environment.shellAliases = { lsl = "ls -lAtr"; + psg = "ps -ef | grep"; + nmap = "nmap -oN $HOME/loot/scan-`date +\%s`.nmap -oX $HOME/loot/scan-`date +%s`.xml"; + grep = "grep --color=auto"; }; nixpkgs.config.packageOverrides = pkgs: {