add bashrc

auto-flake-update
Yorick van Pelt 2017-01-29 18:35:24 +01:00
parent 36c6abed07
commit 0147eb5e47
2 changed files with 18 additions and 1 deletions

17
bash/.bashrc Normal file
View File

@ -0,0 +1,17 @@
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=100000
HISTFILESIZE=200000
alias nr="nix-repl '<nixpkgs>'"
alias ns="nix-shell"
alias nsp="nix-shell -p"
alias niA="nix-env -iA nixos."
alias subl="sublime3"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p stow
stow -d `dirname $0` -t ~ nix git x pentadactyl i3 gtk gpg mutt misc
stow -d `dirname $0` -t ~ nix git x pentadactyl i3 gtk gpg mutt misc bash
nix-build -A $(hostname -s)