skynet/zsh/zalias-borges

17 lines
911 B
Plaintext
Raw Normal View History

2023-04-06 10:44:47 -05:00
#!/usr/bin/env zsh
2023-04-14 15:51:28 -05:00
# path aliases
2023-04-06 10:44:47 -05:00
hash -d r2=/mnt/external/rudism
hash -d api=/home/rudism/mri/cosmic/api
hash -d gql=/home/rudism/mri/cosmic/graphql-server
hash -d a=/mnt/agrajag
hash -d b=/mnt/beeblebrox
2023-04-14 15:51:28 -05:00
# command aliases
alias nasavpn='/home/rudism/src/nasavpn/nasavpn'
alias dockerrm='docker stop $(docker ps -aq); docker rm $(docker ps -aq); docker system prune -f'
alias webcamfix='sudo modprobe v4l2loopback devices=1 video_nr=9 card_label=VirtualCam exclusive_caps=1 && ffmpeg -f video4linux2 -framerate 25 -video_size 1280x720 -input_format mjpeg -i /dev/video0 -f v4l2 -pix_fmt yuv420p /dev/video9; sudo rmmod v4l2loopback'
2023-04-24 16:01:39 -05:00
alias fiio='sudo mount -o uid=rudism,gid=rudism UUID=3317-74BF /mnt/fiio'
2023-04-28 10:59:33 -05:00
alias syncmusic='rsync -e ssh -av --size-only --ignore-times --no-perms --no-owner --no-group /mnt/agrajag/music/ /mnt/fiio/MUSIC'
alias watchsync='watch -d grep -e Dirty: -e Writeback: /proc/meminfo'