-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.bash_profile
41 lines (31 loc) · 1.1 KB
/
.bash_profile
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
39
40
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# git
# https://github.com/git/git/blob/master/contrib/completion/git-completion.bash
source ~/bin/git-completion.bash
# https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh
source ~/bin/git-prompt.sh
source ~/bin/azure-cli/az.completion
export GIT_PS1_SHOWDIRTYSTATE=true
export GIT_PS1_SHOWUNTRACKEDFILES=true
export GIT_PS1_SHOWCOLORHINTS=true
# prompt
# I use Dracula theme for my terminal colours https://draculatheme.com
export PS1='🦄 \[\e[0;36m\]\[\e[0;36m\] \W\[\033[0;35m\]$(__git_ps1 " (%s)")\[\e[0m\]: '
# aliases
# weather and the moon
alias weather='curl -4 http://wttr.in/Seattle'
alias moon='curl -4 http://wttr.in/Moon'
# editing and reloading bash profile
alias ebash='vim ~/.bash_profile'
alias rbash='source ~/.bash_profile'
# colours for `ls` command
alias ls='ls -G'
alias lsa='ls -la'
# bat rules
alias cat='bat'
# vim
alias vim="/usr/local/bin/vim"
# webapps
alias milk="open -na 'Google Chrome' --args '--app=https://www.rememberthemilk.com/app '"
alias webusb="open -a 'Google Chrome' --args '--disable-webusb-security'"