|
|
@ -14,6 +14,12 @@ alias scheme='rlwrap mit-scheme' |
|
|
|
# This is for the mac GUI version of emacs. |
|
|
|
# This is for the mac GUI version of emacs. |
|
|
|
alias emacs-gui='open -a /Applications/Emacs.app $1' |
|
|
|
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() { |
|
|
|
parse_git_branch() { |
|
|
|
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' |
|
|
|
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' |
|
|
|
} |
|
|
|
} |
|
|
|