2018-02-07 13:34:58 +01:00
alias encodempv = 'mpv --profile=encode'
alias qaac = 'wine ~/.wine/drive_c/qaac/qaac.exe'
alias qaac_release = /mnt/hephaestos/qaac/qaac91
alias define = 'python /home/kageru/programming/mwebster/mwebster.py'
alias nanaone-stream= 'mpv rtmp://live1.brb.re/live/nanaone'
2020-06-02 11:12:26 +02:00
alias ls = exa
alias du = dua
2020-06-26 18:04:19 +02:00
alias sed = sd
alias fzf = skim
2018-12-05 08:21:18 +01:00
alias up = 'sudo pacman -Syu'
alias in = 'sudo pacman -S'
2018-07-21 17:37:35 +02:00
alias feg = feh # don’t ask
2019-05-29 19:15:49 +02:00
alias tree = 'exa --tree'
2018-02-07 13:34:58 +01:00
alias animesync = 'python /home/kageru/programming/animesync-personal/animesync.py'
2018-07-21 17:37:35 +02:00
#alias autoremove='sudo pacman -R $(pacaur -Qdtq)'
2019-05-29 19:15:49 +02:00
alias nt = 'alacritty --working-directory $PWD &'
#alias nt='urxvtc -cd $PWD &'
2018-02-07 13:34:58 +01:00
alias ej = 'udisksctl power-off -b'
alias monitor_on = 'pactl load-module module-loopback'
alias monitor_off = 'pactl unload-module module-loopback'
alias eac = 'wine "/home/kageru/.wine/drive_c/Program Files (x86)/Exact Audio Copy/EAC.exe"'
alias sizeof = 'expac -H M "%n\t%m" -s'
alias now = 'date +%H:%M:%S'
alias c = 'bc <<< '
alias ll = 'ls -l'
alias la = 'ls -a'
alias grep = "grep --colour"
alias clip = 'xsel -b'
alias bitrateviewer = 'wine "/home/kageru/.wine/drive_c/Program Files (x86)/BitrateViewer/BitrateViewer.exe"'
2018-12-05 08:21:18 +01:00
alias colorpicker = "maim -sot 0 | convert - -resize 1x1\! -format '%[pixel:p{0,0}]' info:-"
2018-04-01 20:46:40 +02:00
alias fixgit = 'eval "$(ssh-agent -s)"; ssh-add ~/.ssh/git'
alias sv = 'systemctl'
alias xo = 'xdg-open'
2018-07-21 17:37:35 +02:00
alias resetgamma = 'xrandr --output DVI-D-0 --gamma 1:1:1 --output HDMI-1 --gamma 1:1:1 --output HDMI-0 --gamma 1:1:1 --output DP-0 --gamma 1:1:1'
alias texbuild = 'pdflatex -interaction=nonstopmode'
2019-05-29 19:15:49 +02:00
alias weather = 'curl wttr.in/hamburg -s | head -n 7 -'
2020-06-02 11:12:26 +02:00
alias weathertoday = 'curl wttr.in/hamburg -s | head -n 17 -'
2018-12-05 08:21:18 +01:00
alias playdir = 'for f in ./*; do; mpv $f; done;'
alias mntusb = 'sudo mount /dev/sdi1 ~/usb'
alias mntphone = 'simple-mtpfs --device 1 ~/usb'
alias umubs = 'sudo umount ~/usb'
2019-05-29 19:15:49 +02:00
alias gst = 'git status'
alias gco = 'git checkout'
2020-06-02 11:12:26 +02:00
alias gs = 'git switch'
alias gsc = 'git switch -c'
alias gr = 'git restore'
2019-05-29 19:15:49 +02:00
alias blps = '~/.steam/steam/steamapps/common/BorderlandsPreSequel/BorderlandsPreSequel'
2020-06-02 11:12:26 +02:00
alias dir2flac = ' for f in *.wav; do
ffmpeg -i " $f " -compression_level 12 "`basename " $f " .wav`.flac"
done
for f in *.WAV; do
ffmpeg -i " $f " -compression_level 12 "`basename " $f " .WAV`.flac"
done ; '
2019-05-29 19:15:49 +02:00
alias vpnon = 'sudo systemctl start openvpn-client@client.service'
alias vpnoff = 'sudo systemctl stop openvpn-client@client.service'
2020-06-02 11:12:26 +02:00
alias tunnel = 'vpnoff && vpnon'
alias getip = 'curl https://canihazip.com/s'
2018-02-07 13:34:58 +01:00
alias config = '/usr/bin/git --git-dir=/home/kageru/dotfiles/ --work-tree=/home/kageru'
alias -g ...= '../../' #cd ...
alias -g ....= '../../../' #cd ....
alias -g .....= '../../../../' #cd .....
2019-05-29 19:15:49 +02:00
alias :q= 'exit'
alias :wq= 'exit'
2018-02-07 13:34:58 +01:00
alias sprunge = "curl -F 'sprunge=<-' http://sprunge.us"
# Aliases for SSH connections (raspi, remote server, etc.)
[ -f ~/.config/zsh/ssh.sh ] && source ~/.config/zsh/ssh.sh
2020-06-26 18:04:19 +02:00
paste( ) {
curl -F" file=@ $1 " | xsel -b
}