Last active
November 17, 2015 22:52
-
-
Save yifanz/3291749 to your computer and use it in GitHub Desktop.
Basic setup for bash
This file contains hidden or 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
# bash.profile | |
# .bash_profile is executed for login shells | |
# .bashrc is executed for non-login shells | |
# However, Mac OS X’s Terminal.app runs a login shell by default for each | |
# new terminal window, calling .bash_profile instead of .bashrc | |
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi | |
# bash.rc | |
export CLICOLOR=1 | |
PS1="\t \u@\h[\j] \w>" | |
alias ls='ls -G' | |
alias ll='ls -l' | |
alias lla='ls -la' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment