-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
110 lines (91 loc) · 2.81 KB
/
.zshrc
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/julie/.oh-my-zsh
ZSH_THEME="robbyrussell"
plugins=(
git
)
source $ZSH/oh-my-zsh.sh
# Aliases
alias ..='cd ..'
alias ~='cd ~'
alias gog='cd ~/Git'
alias o='open .'
alias showme='ls -la'
alias wtf='git diff'
alias wow='git status'
alias mk='make'
alias git='noglob git'
alias g='git'
alias gs='git status'
alias gi='git init'
alias ga='git add .'
alias gb='git b'
alias gcom='git checkout master'
alias gco='git checkout'
alias gc='git commit'
alias gcm='git commit -m'
alias gcam='git commit -a'
alias gcb='git checkout -b'
alias gu='git up'
alias gf='cmp -s <(git branch | grep "^\* ") <(echo "* master") && echo "Force push disabled on master." || git push origin $(git branch | grep "^\* " | sed "s/^\* //") -f'
alias gl='git log --oneline'
alias gri='git rebase -i'
alias c='git checkout -b'
alias b='git checkout'
alias gr='git rebase'
alias m='git bdone'
alias log='git log'
alias p='git push'
alias pom='git push origin master'
alias pu='git pull'
alias puom='git pull origin master'
alias goremote='git remote add origin'
alias bql='bq load --autodetect --replace'
alias gcset='gcloud config set core/project'
alias gcrun='gcloud composer environments run'
alias gcgimmi='gcloud components update'
alias venv='. venv/bin/activate'
alias nin='~/Git/Demos/nin/nin/backend/nin'
alias gitdiff='git diff --no-index'
alias zshrc="vim ~/.zshrc"
alias ohmyzsh="vim ~/.oh-my-zsh"
alias gitconfig="vim ~/.gitconfig"
alias bashrc="vim ~/.bashrc"
# Typos
alias im='vim'
alias it='git'
alias gti='git'
alias org2org='ogr2ogr'
alias org='ogr2ogr'
# Lol
alias whosyourmother="echo your mom"
alias gimmie='sudo apt-get install'
alias iwant='sudo apt-get install'
alias rip='sudo apt-get remove'
alias im_in_yur='cd'
alias gimmie_øl='brew'
alias gg='git push'
alias glhf='git checkout -b'
#GOPATH
export GOPATH=$HOME/Documents/Una
#JDK
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home"
#ALIAS
alias py=python3
#AIRFLOW
export AIRFLOW_HOME=~/Git/airflow/home
#SCRAPPY_SCRIPTS
export PATH="$PATH:~/Git/Una/scrappy-scripts/src"
source ~/Git/Una/scrappy-scripts/alias.sh
#Flutter
export PATH="$PATH:/Users/julie/Git/flutter/bin"
#TERRAFORM
export PATH="$PATH:/Users/julie/Documents/terraform"
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/julie/google-cloud-sdk/path.zsh.inc' ]; then source '/Users/julie/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/Users/julie/google-cloud-sdk/completion.zsh.inc' ]; then source '/Users/julie/google-cloud-sdk/completion.zsh.inc'; fi
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"