-
Notifications
You must be signed in to change notification settings - Fork 4
/
.alias
37 lines (32 loc) · 948 Bytes
/
.alias
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
#!/bin/fish alias
# alias for xbps
# --- System
alias q="exit"
alias c="clear"
alias off="loginctl poweroff"
alias reboot="loginctl reboot"
alias sleep="loginctl suspend"
# -- Github
alias gf="git fetch"
alias gc="git clone"
alias gcp="git cherry-pick"
alias grh="git reset --hard"
alias gm="git merge FETCH_HEAD"
alias gcpm1="git cherry-pick -m1"
# --- Ping
alias pg="ping 8.8.8.8"
alias pc="ping 1.1.1.1"
# --- Xbps
alias xd="sudo xdowngrade"
alias depsx="xbps-query -x"
alias xquery="xbps-query -s"
alias rmpkg="sudo xbps-remove -R"
alias xipkg="sudo xbps-install -S"
alias rmxapp="sudo xbps-remove -O"
alias update="sudo xbps-install -Su"
alias rmxo="sudo xbps-remove --remove-orphans"
alias xipkgfree="sudo xbps-install --repository=hostdir/binpkgs"
alias xipkgnonfree="sudo xbps-install --repository=hostdir/binpkgs/nonfree"
# --- etc
alias makessh="bash ~/.scripts/ssh"
alias ncmpcpp="bash ~/.ncmpcpp/ncmpcpp-ueberzug/ncmpcpp-ueberzug"