summaryrefslogtreecommitdiffstats
path: root/2configs
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
commit19ec9386178d0d3b5ae10a43db1dadd6fc1959c6 (patch)
tree1490b77fc9aaf5c869d8a2e2f5f174c42f8f1b0e /2configs
parent32233056493aa749f6eec4fce354cf07621a6d05 (diff)
m 2 default: add aliases, pythonstartup env
Diffstat (limited to '2configs')
-rw-r--r--2configs/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/2configs/default.nix b/2configs/default.nix
index 519635281..c0d7685e3 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: {