set -o vi ulimit -c unlimited alias rsync="openrsync -rv" export CDPATH=:~ alias ls="LC_COLLATE=C ls -lhF" alias rm="rm -iv" alias cp="cp -riv" alias mv="mv -iv" alias grep="grep -in" alias nl="nl -b all" alias rclone="rclone -P" alias mosh="env LC_CTYPE=en_US.UTF-8 mosh" alias ytmusic="youtube-dl --add-metadata --extract-audio --audio-format vorbis --restrict-filenames -o '%(title)s.%(ext)s'" stty dsusp undef alias mspdf="groff -Tpdf -M ~/var/docs -ms -macheam" rpdf() { tmp=/tmp/rpdf${RANDOM}.pdf mspdf $1 > $tmp zathura $tmp & fwa $1 | while read; do mspdf $1 > $tmp; done rm -f $tmp } dosa() { echo "Dosa! Yum yum yum" doas $@ } watch() { inp=$1 shift fwa $inp | while read; do $@; done } alias wttr='curl wttr.in?format="%l+%T\n%C+%t\nSunrise:+%S,+Sunset+%s\n"' alias nv="nvim" alias dotgit="git --git-dir=~/.local/share/dotfiles --work-tree=~"