dotfiles/.config/zsh/aliases.sh

58 lines
2.5 KiB
Bash
Raw Normal View History

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'
alias ls='exa'
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 -'
2018-07-21 17:37:35 +02:00
alias weathertoday='curl wttr.in/karlsruhe -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'
alias blps='~/.steam/steam/steamapps/common/BorderlandsPreSequel/BorderlandsPreSequel'
alias dir2flac='for f in *.wav; do; ffmpeg -i "$f" -compression_level 12 "`basename "$f" .wav`.flac"; done;'
alias vpnon='sudo systemctl start openvpn-client@client.service'
alias vpnoff='sudo systemctl stop openvpn-client@client.service'
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