-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.aliases
62 lines (54 loc) · 1.98 KB
/
.aliases
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
alias v='nvim'
alias nv='nvim'
alias sv='sudo nvim'
alias snv='sudo nvim'
alias logout='sudo pkill -u $USER'
alias poweroff='sudo poweroff'
alias shutdown='sudo shutdown now'
alias reboot='sudo reboot'
alias hibernate='sudo pm-hibernate'
alias sleep='sudo pm-suspend'
alias lla='ls -alF --group-directories-first --color=always'
alias ll='ls -l --group-directories-first --color=always'
alias la='ls -A --group-directories-first --color=always'
alias l='ls -CF --group-directories-first --color=always'
alias llg='ls -alF --group-directories-first --color=always|grep'
alias llm='ls -alF --group-directories-first --color=always|more'
alias lll='ls -alF --group-directories-first --color=always|more'
alias gcn='git clone'
alias ga='git add'
alias gaa='git add -A'
alias gcm='git commit -m'
alias gcmu="git commit -m 'update'"
alias gcau="git commit -am 'update'"
alias gst='git status'
alias gpom='git push --all origin'
alias gppi='git push --all pi'
alias gpum='git pull --all upstream'
alias gfum='git fetch --all upstream'
alias gp='git pull --all'
alias gpa='git pull --all'
alias gf='git fetch --all'
alias grv='git remote -v'
alias grau='git remote add upstream'
# push tracking branch to remote tracking branch
# # ex: git push [remotename] [trackingbranch]:[remotetrackingbranch]
# # ex: git push origin precise:precise
# # ex: git push origin v2.0.0:v2.0.0
# alias gptr='git push origin $1:$2'
# TeX
alias Txa="cp ~/Documents/Templates/LaTeX/article.tex"
alias Txs="cp ~/Documents/Templates/LaTeX/beamer.tex"
alias Txh="cp ~/Documents/Templates/LaTeX/handout.tex"
alias TC='texclear'
# Internet
# alias yt="youtube-dl --add-metadata -ic" # Download video link
# alias yta="youtube-dl --add-metadata -xic" # Download only audio
# alias YT="youtube-viewer"
# GitPi
alias gitpi='ssh pi@$GITPI_IP'
alias desktop='ssh aleppi@$GITPI_IP -p 32'
# Alias python3, pip3 and conda to anaconda 3 versions:
#alias python3='~/anaconda3/bin/python'
#alias pip3='~/anaconda3/bin/pip'
#alias conda='~/anaconda3/bin/conda'