summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-12-16 10:42:40 +0100
committermakefu <github@syntax-fehler.de>2015-12-16 10:42:40 +0100
commit09f4611f38ecaf471a54c09fc3fa9350ffe3f0b9 (patch)
tree9e7b822e6514167fa9aa1e6e0a4b314176200d96
parentc95085d875ac72152dcfbaceb35364203f97db7d (diff)
m 2 default: add aliases, pythonstartup env
-rw-r--r--makefu/2configs/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefu/2configs/default.nix b/makefu/2configs/default.nix
index 519635281..c0d7685e3 100644
--- a/makefu/2configs/default.nix
+++ b/makefu/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: {