-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zsh_aliases
80 lines (68 loc) · 2.26 KB
/
.zsh_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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Aliases
# created by user
# Shorthand & efficiency
alias ll="ls -alFh"
alias la="ls -ah --color=auto"
alias l="ls -CFh"
alias lal="ls -alh --color=auto"
alias lsl="ls -alFh"
alias lsa="ls -ah --color=auto"
alias lsal="ls -alh --color=auto"
alias wcl="wc -l"
alias wcw="wc -w"
alias wcc="wc -m" # -m is characters
alias wcb="wc -c" # -c is bytes
alias clr="clear"
alias cl="clear"
alias rl="clear && source $RCFILE"
alias edit="$EDITOR"
alias rustic=rustc
alias qmake="/usr/bin/qmake"
alias py="python"
alias br="bin/rails"
# alias rails="bin/rails"
alias railsg="~/.gem/ruby/2.3.0/bin/rails"
alias gaepub="gcloud app deploy"
alias rc="$EDITOR $RCFILE && source $RCFILE"
alias aliases="$EDITOR ~/.zsh_aliases && source ~/.zsh_aliases"
alias zshfnc="$EDITOR ~/.zsh_functions && source ~/.zsh_functions"
alias vimrc="$EDITOR ~/.config/nvim/init.vim"
alias taskrc="$EDITOR ~/.taskrc"
# alias polyconf="wd poly && $EDITOR ~/.config/polybar/config"
alias polyconf="cd ~/.config/polybar && $EDITOR config && cd -"
alias tmrc="$EDITOR ~/.tmux.conf && tmux source-file ~/.tmux.conf"
alias omz="$EDITOR ~/.oh-my-zsh && source ~/.oh-my-zsh"
alias wmrc="$EDITOR $WMRCFILE"
alias pwsetup="powerline-config tmux setup && powerline-daemon --replace"
alias t="task"
alias trc="$EDITOR ~/.taskrc && task"
alias ttheme="$EDITOR ~/.config/task/themes/custom.theme && task"
alias tash="tasksh"
alias depends="echo 'Other tasks that this task depends on.'"
alias vim=nvim
alias vimwiki="nvim ~/vimwiki/index.wiki --cmd 'cd ~/vimwiki'"
# alias vimwiki="oni ~/vimwiki/index.wiki --cmd 'cd ~/vimwiki'"
alias ghost="gs" # I am used to "gs" as "git status"
alias view="$VIEWER"
alias ipy="ipython"
alias jupy="jupyter notebook"
alias psychopy="/usr/bin/psychopyApp.py -b &"
# Common typos
alias nom="npm"
# My own programs
# alias lifetracker="~/.scripts/LifeTracker/LifeTracker"
alias passbox="cd ~/projects/passbox && npm start"
alias tarot="python ~/projects/tarot/main.py"
alias namegen="ipython -i ~/projects/namegen/namegen.py --"
# git aliases
alias gs="git status"
alias gadd="git add"
alias gc="git commit -m"
alias gca="git commit -am"
alias gpl="git pull"
alias gp="git push"
alias gpi="git push -u"
alias gsub="git submodule add"
alias gco="git checkout"
alias gcob="git checkout -B"
alias gbr="git branch"