skynet/zsh/zalias-borges

25 lines
1.4 KiB
Bash

#!/usr/bin/env zsh
# path aliases
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 as2=/home/rudism/mri/appdat/as2
hash -d oot=/home/rudism/mri/cosmic/nasa/oot/api
hash -d risk=/home/rudism/mri/cosmic/nasa/risk/api
hash -d a=/mnt/agrajag
hash -d b=/mnt/beeblebrox
# 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'
alias syncmusic='rsync -av --size-only --ignore-times --no-perms --no-owner --no-group --delete /mnt/agrajag/music/ /mnt/usb/Music'
alias watchsync='watch -d grep -e Dirty: -e Writeback: /proc/meminfo'
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/rudism/.local/share/google-cloud-sdk/path.zsh.inc' ]; then . '/home/rudism/.local/share/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/home/rudism/.local/share/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/rudism/.local/share/google-cloud-sdk/completion.zsh.inc'; fi