summaryrefslogtreecommitdiff
path: root/.zsh_aliases
blob: fb70484b57def881d25581487fbaa0fe7af975e2 (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
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
#alias a=''
alias ap='ansible-playbook'
#alias b=''
#alias c=''
alias c='ncal -3wM'
#alias d=''
alias e='nvim'
#alias f=''
alias fd='fdfind'
alias g='git'
#alias h=''
#alias i=''
# j is used by autojump plugin
  #alias j=''
# j is used by autojump plugin
#alias k=''
alias l='exa'
alias ll='exa -l'
alias la='exa -la'
#alias m=''
#alias n=''
#alias o=''
alias p='puppet'
alias pat='puppet apply --test /etc/puppet/manifests/site.pp'
alias pno='puppet apply --test --noop /etc/puppet/manifests/site.pp'
#alias q=''
# r is a shell builtin
  #alias r=''
# r is a shell builtin
alias s='ssh'
#alias t=''
#alias u=''
alias v='/usr/share/nvim/runtime/macros/less.sh'
# w is a system executable
  #alias w=''
# w is a system executable
#alias x=''
alias xs='xpanes -t -s -c "ssh {}"'
#alias y=''
#alias z=''

alias ip='ip -brief -color=auto'
alias ls='ls --color=auto -b'
alias mv='mv -i'

alias qmpv='mpv -ao null'
alias hw1mpv='mpv --ao=alsa:device=[hw:1,0] --audio-format s32'

alias dus='du -s * | sort -n'

alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg"

alias diary='vim ~/Data/henksfiles/workinprogress/Dokumente/diary/$(date +%F).otl'
alias dreamdiary='vim ~/Data/henksfiles/workinprogress/Dokumente/diary/dreams_$(date +%F).otl'
alias positivediary='vim ~/Data/henksfiles/workinprogress/Dokumente/diary/positive_$(date +%F).otl'
alias dramalog='e Data/henksfiles/workinprogress/Dokumente/Beziehung/dramalog.otl'
alias jdiary='vim ~/Data/henksfiles/workinprogress/Dokumente/jdiary/$(date +%F).otl'

#alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
function alert() {
  notify-send --urgency=low -i ${(%):-%(?.terminal.error)} ${history[$HISTCMD]%[;&|][[:space:]]##alert}
}

alias datesortimages='exiftool "-Directory<DateTimeOriginal" -d 00_test_sorted/%Y/%m/%d -r'

alias ta='task'
#alias in='task in'
alias ti='timew'


alias q2g_vde="/usr/bin/qemu-system-x86_64 -machine accel=kvm -m 2048 \
    -net vde,vlan=1,sock=/var/run/vde2/vsw0.ctl"

alias q2g_br="/usr/bin/qemu-system-x86_64 -machine accel=kvm -m 2048 \
    -net tap,ifname=tap0,vlan=0,script=no,downscript=no"