-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bash_Profile
More file actions
executable file
·38 lines (31 loc) · 973 Bytes
/
.bash_Profile
File metadata and controls
executable file
·38 lines (31 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Enable tab completion
source ~/git-completion.bash
# Prints greetings upon opening terminal
source ~/welcome.sh
# colors!
green="\[\033[0;32m\]"
blue="\[\033[0;34m\]"
purple="\[\033[0;35m\]"
reset="\[\033[0m\]"
# Change command prompt
source ~/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
# '\u' adds the name of the current user to the prompt
# '\$(__git_ps1)' adds git-related stuff
# '\W' adds the name of the current directory
export PS1="$purple\u$green\$(__git_ps1)$blue \W $ $reset"
# Editing configuration files
alias vbashp="vim ~/.bash_profile"
alias sbashp="source ~/.bash_profile"
alias vimrc="vim ~/.vimrc"
alias gitconfig="vim ~/.gitconfig"
alias gitignore="vim ~/.gitignore"
#Text editors
alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
alias v="vim"
#Commands
alias rm="rm -i"
alias mv="mv -i"
#Used for course
alias ssh30="ssh -x cs30xnf@pi-cluster.ucsd.edu"
alias style_check="./styleCheck.sh"