aboutsummaryrefslogtreecommitdiff
path: root/aliases.dot.link
blob: fc1697fd55030779b34202f31a5e0b24ddf6138f (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
47
48
# Generic aliases
alias ls="ls --color=auto"
alias ll="ls --color=auto -lh"
alias grep="grep --color=auto"
alias gvim="vim.gtk -g &> /dev/null"
alias music="ncmpcpp"
alias mkdir="mkdir -p"
alias today="date +%Y%m%d"
alias month="date +%Y%m"
alias hashpw="mkpasswd -m sha-512"
alias stitle="screen -X title"
alias ttitle="tmux rename-window"
alias q="exit"
alias open="xdg-open"
alias mc="TERM=xterm-256color mc"
alias search="surfraw duckduckgo -browser=lynx"
alias tlynx="torify lynx"
alias tw3m="torify w3m"
alias poff="sudo poweroff"
alias poweroff="sudo poweroff"
alias hibernate="sudo s2disk"
alias jheader="jhead -dc -de -di -dx -du"
alias vga="xrandr --output VGA-1"
alias qemu="qemu-system-`uname -m`"
alias showip="curl showip.net 2> /dev/null | cut -f 1 | nslookup"

# Version contron aliases
alias fetch="mr fetch"
alias ft="fetch"
alias st="status"
alias gs="git status"
alias gd="git diff"
alias gl="git log"
alias co="commit"
alias tig="tig --all"

# Shell aliases
alias s="shell"

# Editor, avoiding "Avoiding protocol specified" error
#alias vim="vim -X"
#alias vi="vim -X"

# Development
#alias dscverify='dscverify --keyring ~/code/debian/keyring/output/keyrings/debian-keyring.gpg'
alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg"
alias dpkg-source='HOME=~/code/debian/keyring/output dpkg-source'
alias dget='HOME=~/code/debian/keyring/output dget'