Browse Source

Add nix runner to zshrc

master
Taylor Bockman 9 years ago
parent
commit
3f673944d4
  1. 6
      dotfiles/zshrc

6
dotfiles/zshrc

@ -14,6 +14,12 @@ alias scheme='rlwrap mit-scheme'
# This is for the mac GUI version of emacs.
alias emacs-gui='open -a /Applications/Emacs.app $1'
# This is for nix if it exists
if [ -f ~/.nix-profile/etc/profile.d/nix.sh ]
then
. ~/.nix-profile/etc/profile.d/nix.sh
fi
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}

Loading…
Cancel
Save