summaryrefslogtreecommitdiff
path: root/conf.d/90-alias.zsh
blob: da6219d2ecdd9eaca7f651f631c7b14e9e1d3ba9 (plain)
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
alias s='nocorrect sudo '
alias se='nocorrect sudo -E '
alias sse='nocorrect sudo -sE '
alias sudo='nocorrect sudo '
alias just='nocorrect sudo '

alias reboop=reboot

alias g=git

alias sc=systemctl
alias scu='systemctl --user'
alias jc=journalctl

alias vim=$EDITOR
alias e=$EDITOR

alias xo='xclip -o'
alias xi='xclip -i'

ce() {
  local file
  file=$(find "$CFG_DIR" -type f 2>/dev/null | fzf +m) && e "$file"
}

alias c=cargo
alias r=raco

alias p=pass
alias wa=tungsten

alias t=task
alias tn='task next'
alias ta='task add'

alias pe=patchelf

alias -g L='| less '
alias -g F='| rg -i '
alias -g X='| xargs '
alias -g SDN=' >/dev/null '
alias -g EDN=' 2>/dev/null '

function steamrun() { # practically an alias, no?
  LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 primusrun $argv
}