-
Notifications
You must be signed in to change notification settings - Fork 1
/
aliasrc
83 lines (65 loc) · 2.14 KB
/
aliasrc
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
# SYSTEM
alias cpu='top -o cpu'
alias mem='top -o vsize'
alias ..="cd .."
alias ...="cd ../.."
alias dotfiles="cd ~/bin/dotfiles/ && vim"
alias q="exit"
alias :q="exit"
alias :wq="exit"
alias c='clear'
alias noo='fuckit'
alias hg="history | grep "
alias weather="curl wttr.in/94086"
# RUBY
alias be="bundle exec"
alias bet="be rake test TEST="
alias br="bundle exec rake"
alias s="bundle exec rspec"
# GIT
alias g='git status'
alias gsp='git stash show -p stash@{0}'
alias gs='git show --stat'
alias gl='git log -n 21'
alias gb='git checkout -b'
alias gca='git commit --amend'
alias gcaa='git add . && git commit --amend'
alias gitme='git log --author=Len'
alias glo='git log --graph --pretty=format:"%Cred%h%Creset - %s %Cgreen(%cr)%Creset" --abbrev-commit --date=relative'
alias co='git checkout'
alias gap="git add -p"
alias gpr="gppp"
alias wat="git for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)' | fzf | xargs git checkout"
alias pwtrace="ls ~/code/zeck/e2e/test-results | fzf | xargs -I {} yarn playwright show-trace ~/code/zeck/e2e/test-results/{}/trace.zip"
alias xx="gt" # gt is way too close to git and my fingers hate it
alias RG='rg --hidden --no-ignore-vcs'
alias hc="hub compare"
alias lg="lazygit"
#javascrittt
alias que="cat package.json | jq .scripts"
alias qdev="cat package.json | jq .devDependencies"
alias qdep="cat package.json | jq .dependencies"
alias qd="qdev && qdep"
alias reyarn="rm -rf node_modules && yarn"
alias pa="ps aux | grep "
#alias tmux="TERM=xterm-256color tmux"
alias vim="nvim"
alias vi="nvim"
alias emul="/Users/ignu/Library/Android/sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_One_API_23"
alias editalias="vim ~/bin/dotfiles/aliasrc"
alias editvim="vim ~/bin/dotfiles/vimrc"
alias godot="cd ~/bin/dotfiles && gs && echo '🚀' && gl"
# NODE
alias nod="nodemon --exec npm run babel-node -- "
alias nr="npm run"
alias yg="yarn global"
# ELIXIR
alias iph="iex -S mix phx.server"
# DOCKER
alias burn="docker kill $(docker ps -q)"
alias l="exa -l"
# OOPS
alias :sp='cowsay "this isnt vim."'
alias :vsp='cowsay "this isnt vim."'
alias :w='cowsay "this isnt vim."'
alias pn='pnpm'