Created
March 6, 2017 10:14
-
-
Save mbacou/4b5eba89657df83293675e8e13e11d67 to your computer and use it in GitHub Desktop.
Bash init (Ubuntu 16.10)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------ | |
# prompt | |
# ------------------------ | |
alias ls="ls --color" | |
alias ll="ls -l" | |
# ------------------------ | |
# alias | |
# ------------------------ | |
alias h=history | |
alias rm="rm -i" | |
alias gc="git commit -am" | |
alias gp="git push" | |
alias edit="emacsclient -c -a ''" # assumes emacs daemon | |
# ------------------------ | |
# Environment | |
# ------------------------ | |
export ALTERNATE_EDITOR="" | |
export EDITOR="emacsclient -t" # $EDITOR should open in terminal | |
export VISUAL="emacsclient -c -a ''" # $VISUAL opens in GUI | |
export WORKON_HOME="~/.virtualenvs" # Python env default location |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment