#Custom Aliases alias .="cd && ls" alias more="less" alias {rg,grep}="rg -i --colors 'match:fg:blue' --colors 'line:fg:blue' -N" alias {drag,rdrag}="ripdrag" alias lf="ranger" alias ogrep='grep --colour=auto' alias egrep='egrep --colour=auto' alias fgrep='fgrep --colour=auto' alias cp="cp -i" alias df='df -h' alias free='free -mh' alias dmesg="doas dmesg -H" alias blkid="doas blkid" alias kernel="uname -r" alias docs="cd ~/Documents && ls" alias desk="cd ~/Desktop && ls" alias down="cd ~/Downloads && ls" alias pics="cd ~/Pictures && ls" alias music="cd ~/Music && ls" alias vids="cd ~/Videos && ls" alias games="cd ~/.local/share/Steam/steamapps/common && ls" alias notes="cd ~/Documents/notes && ls" alias scripts="cd ~/scripts && ls" alias books="cd ~/Documents/books && ls" alias config="cd ~/.config && ls" alias cache="cd ~/.cache && ls" alias svs="cd /etc/runit/sv && ls" alias vpnup="doas sv up openvpn && doas sv start openvpn" alias vpndown="doas sv down openvpn && doas sv stop openvpn" alias Code="cd ~/Documents/Code && ls" alias cplus="cd ~/Documents/Code/cpp && ls" alias js="cd ~/Documents/Code/javascript && ls" alias py="cd ~/Documents/Code/python && ls" alias wtuts="cd ~/Documents/Code/web_tutorials && ls" alias btuts="cd ~/Documents/Code/book_tutorials && ls" alias fonts="fc-list" alias locate="locate -i" alias bat="bat --theme Nord" alias batman="man bat" alias ls="exa --icons" alias li="exa -1 --icons" alias ll="exa -lih --icons" alias {lsdir,lsd}="ls -t -1" # list only the directories alias lshw="doas lshw -short | less" # list hardware alias {hw,hwinfo}="hwinfo | less" # extensive info on hardware devices alias dmid="doas dmidecode | less" alias of="onefetch -o yaml | yq -C" alias mkdir='mkdir -pv' alias {ex,esc}="exit" alias {his,hist}="history" alias mnt="doas mount /dev/sda1 /mnt/media/usb-drive" alias umnt="doas umount /mnt/media/usb-drive" alias imnt="ifuse /home/brian/iphone" alias iumnt="doas umount /home/brian/iphone" alias kmnt="doas mount /dev/sda /mnt/media/kobo" alias kumnt="doas umount /dev/sda /mnt/media/kobo" alias rm="newrm -vi" alias calendar="calcurse" alias cal="newcal" # simple tool for math, see https://github.com/metadelta/mdlt alias math="mdlt simplify" alias mv="mv -v" alias ln="ln -i" alias {doasedit,sudoedit}="doas rnano" alias clean_cache="doas paccache -r && doas rm -r /home/brian/.cache/*" alias shred="doas shred -uzv" # shreds the file and overwrites it with 1s and 0s, shows progress alias indelible="doas chattr +i" # makes a file impossible to delete (except with sudo) alias diff=difft alias cdiff="colordiff" alias kfonts="kitty +list-fonts" alias {kdiff,kitten,kd}="kitty +kitten diff" alias fzfi="rg --files --hidden --follow --no-ignore-vcs -g '!{node_modules,.git}' | fzf" alias bluepill="neo-matrix --bold=2 -D --color=cyan --density=0.75 --charset=katakana --speed=12 --fullwidth --screensaver" # alias btop="kitty -o font_size=12 -o background_opacity=0.50 -e btop; fullscreen enable" alias tshift='doas timeshift --delete && notify-send "  Previous Backup Deleted!" && doas timeshift --create && notify-send "  New Backup Created!" && doas timeshift --list' alias btop="bst -e btop" alias {librewolf,firefox}="librewolf" alias tor-browser="tor-browser &" alias chromium="chromium --incognito --disable-search-engine-collection --fingerprinting-canvas-image-data-noise --fingerpriting-canvas-measuretext-noise --fingerprinting-client-rects-noise --popups-to-tabs &" alias leetcode="/usr/bin/chromium --incognito --disable-search-engine-collection --fingerprinting-canvas-image-data-noise --fingerpriting-canvas-measuretext-noise --fingerprinting-client-rects-noise --popups-to-tabs https://leetcode.com/accounts/login &" alias gimp="gimp --no-splash" alias krita="krita --nosplash" alias toonz="opentoonz" alias {sqlite,sql}="sqlite3" alias {sqcipher,sqc}="sqlcipher" alias sq-cli="litecli" # doesn't work with sqlcipher # alias view="kitty +kitten icat" alias view="sxiv" alias viewer="feh -F -Z -x" alias mupdf='mupdf -r 204' alias dkpdf='mupdf -I -r 204' alias {json,jscrl,jsoncurl,jcrl}="jscurl" alias amd="article_md" alias kevents="xev -event keyboard" alias sk="screenkey" alias word="wordgrinder" alias spreadsheet="sc" alias pvctrl="pavucontrol" alias open="xdg-open" alias nc="nc -v" alias dump="doas tcpdump" alias {mydump,medump,mdump,bdump}="doas tcpdump -v -i wlan0" alias {wireshark-cli,wshark}="tshark" alias route="traceroute" alias listen="ss -a -t -p" alias {pdf2,pdf2txt}="pdftotext" alias {pdfg,greppdf}="pdfgrep" alias tree="tree -ad -L 3 --prune -C" alias {nv,nvi}="nvim" alias {cproj,mproj,myproj}="cd '$cproj' && ls" alias leafbytes="cd ~/Documents/Code/leafbytes && ls" alias drafts="cd ~/Documents/Code/leafbytes_drafts && ls" alias mon="nodemon" alias localhost="librewolf localhost:3000 &" alias {mi,mic}="micro" alias {maria,mysql,mdb}="mariadb" alias {maria-cli,mariacli}="mycli" alias {psql-cli,psqlcli}="pgcli" alias rsm="doas rsm" alias updatedb="doas updatedb" alias iftop-w="doas iftop -i wlan0 -P" alias wmon="wavemon" alias ncpa="ncpamixer" alias spdtst="speedtest --simple" alias {spdtstjs,spdtstjson}="speedtest --json | jq" # usage p0f -i wlan0 alias p0f="doas p0f" alias vnstat-w="vnstat -i wlan0 --json | jq" alias {wi,ssid}="doas iw wlan0 scan | grep SSID" # alias wifi-list="connmanctl services" alias wifi-list="nmcli device wifi list" # alias wifi-scan="connmanctl scan wifi" # alias wifi-connect="connmanctl connect wifi_34cff6c9b922_44495a5a_managed_psk" alias wifi-connect='nmcli device wifi connect "${SSID}" password "${PASSWD}"' # alias wifi-disconnect="connmanctl disconnect wifi_34cff6c9b922_44495a5a_managed_psk" alias wifi-disconnect="nmcli device disconnect wlan0" alias wifi-up="doas ifconfig wlan0 up" alias wifi-down="doas ifconfig wlan0 down" alias letitsnow="doas docker start snowflake-proxy" alias snowfall="doas docker stop snowflake-proxy" alias snowlogs="doas docker logs -f snowflake-proxy" alias {lsc,lscommits}="tig" alias lxapp="lxappearance" alias hd="ncdu" # one of our most usful aliases (useful in conjunction with yank, awk, etc.): alias {xsel,catx}="xclip -sel clip" # useful with < or | redirection operators # alias printdoc="lp -d Brother" alias printdoc="lp -d MFCJ615W" alias catp="xclip -out -selection clipboard; echo" alias mouse="mousepad" alias xclear="echo '' | xclip && xclip -selection clipboard /dev/null" # alias diff="diff -wy" alias exifread="exiftool" alias exifrm="exiftool -all=" alias {html,html_pp}="hxnormalize -e" # stock tickers alias ticker="ticker -w SPY,QQQ,DIA,IWM,VIX" alias {mop,market,stonks,stocks}="cd ~/aur_packages/mop && go run ./cmd/mop/main.go && cd" alias {reddit,rd}="tuir" alias {sub,subreddit,subrd}="tuir -s" alias qwiki="wik -i" alias toolongdidntread="tldr" alias cheatsheet="cheat" alias stallman="vrms" alias {trans,translate}="gtktranslate" alias mpva='mpv "${1}" --no-video' alias mmpv='mpv --fs --panscan=1.0' alias {muse,musik,cmu}="cmus" alias {hp,headphones}="pactl set-default-sink alsa_output.usb-FIIO_FiiO_USB_DAC-E10-01.analog-stereo" alias {sp,speakers}="pactl set-default-sink alsa_output.pci-0000_0a_00.4.analog-stereo" alias dspeakers="pactl set-default-sink alsa_output.pci-0000_08_00.1.hdmi-stereo-extra1" # laptop only alias lapspeakers="pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo" alias pulse="pamixer --set-volume" alias {mu,mt,mute}="pamixer -t" # laptop only currently, records video/audio, simply name filename .mp4 after command: alias r_vid="ffmpeg -f v4l2 -framerate 24 -video_size 640x480 -i /dev/video0 -itsoffset 00:00:01.0 -f alsa -i default -c:v libx264 -preset ultrafast -c:a aac" # alias ytube="ytfzf -l --features=subtitles" alias {yti,ytinfo}="ytfzf -I L" alias {ytd,ytdownload}="ytfzf -d" alias {odysee,lbry}="ytfzf -c O --features=subtitles" alias {ptube,peertube}="ytfzf -c P --features=subtitles" alias yt-listen='mpv "${1}" --no-video' alias ytdl="yt-dlp -f mp4" alias ytdl-a="yt-dlp -x --audio-format mp3" alias thinkorswim="cd /home/brian/thinkorswim && java -jar launcher.jar && cd" alias {cl,cls}="clear" alias shutdown="shutdown.sh" alias reboot="reboot.sh" alias curltime="curl -w \"@$HOME/Documents/notes/curl-format.txt\" -o /dev/null -s" source ~/.zip_code alias inxi-w="inxi --weather-location "${ZIPCODE}"" alias inxi-i="doas inxi -Fxzm" alias forecast="curl -s 'http://wttr.in/losangeles'" alias pf="pfetch" alias has="dependencycheck" alias ipaddr="curl ifconfig.me/all.json | jq" alias hwclock="doas hwclock" alias killport="fuser -k" alias kill9="killall -9" # kills process by name, e.g. kill9 cmus # alias npm_upgrade="doas npm install --location=global npm@latest" alias {pacquery,pacgrep,pacq}="pacman -Q | grep $1" alias npm_list="find /usr/lib/node_modules -maxdepth 1 | sed -r 's/^\/usr\/lib\/node_modules\///g" alias pip_upgrade="python -m pip install --upgrade pip" alias rust_upgrade="rustup update" alias nb="newsboat" alias slink="streamlink" alias scrot="scrot --count --delay" alias grip="grip 6969" alias sudoku="sku" # pip list and pip freeze command list pip packages #Particularly useful commands more to remember than to use as aliases: alias optimalbufsize= 'stat -c "%o"' # followed by filename will give you the optimal read/write BUFSIZE for a file alias {rcrm,rrm}="doas xargs -d\\n rm -r -v" # when piped after locate or find command, recursively removes outputted files alias {rlast,dlast}="sed -i '$ d'" # removes last line of file alias athena="athena-jot" alias view-in-tty="fim" alias snarfsnarf="snarf" alias shchk="shellcheck" # get top process eating memory alias psmem="ps auxf | sort -nr -k 4 | head -5" # get top process eating cpu alias pscpu="ps auxf | sort -nr -k 3 | head -5" alias {say,speak,espeak}="espeak -v female5" # useful bash commands # grep, sed, awk, tr, sort, seq, paste, uniq # git aliases alias git-a="git add" alias git-c="git commit -m" alias git-p="git push" # taken from Luke Smith, pushes to all remotes alias gua="git remote | xargs -L1 git push --all" # undo local file changes and keep your last commit alias git-r="git reset --hard" # undo local file changes and remove your last commit alias git-rrh="git reset --hard HEAD^" # keep local file changes and remove your last commit alias git-rrs="git reset --soft HEAD^" alias git-s="git status" alias git-ss="git status short" # for use with notes directory only alias git-pn="git push origin-ssh && git push codeberg" alias git-l="git log" alias gitmojis="bat $HOME/Documents/notes/gitmoji.txt" # tmux multiplexer session aliases alias {bmux,mymux,memux,mmux}="tmux new-session \; send-keys 'nvim' C-m\; split-window -v -p 3\; split-window -h -p 50\; select-pane -t 0\;" alias tls="tmux ls" alias ta="tmux a -t" alias tkill="tmux kill-ses -t" # zellij multiplexer sesssion alias zj="zellij" # programming specific aliases alias rc="rustc" alias cc="cc -Wall -Werror -Wextra" alias cprogrammingtags="ctags" alias vgrind="valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s" #create programming licences alias license="legit" # game shortcuts # alias {cbpunk,cyberpunk}="steam steam://rungameid/1091500 &" # alias {twd,thewalkingdead}="steam steam://rungameid/1449690 &" # alias {cbmods,cybermods}="cd ~/.local/share/Steam/steamapps/common/Cyberpunk\ 2077/archive/pc/mod && ls" # docker specific Aliases alias docker="doas docker" # eventually create some simple scripts for stuff like this... alias docker-ls="doas docker container ls -a && docker images" alias docker-rm-c="doas docker container rm" alias docker-rm-i="doas docker image rm" alias docker-exec="doas docker exec -it" # use with container ID and bash # bookmarks # nerdfonts cheat sheet for terminal icons alias nfcheatsheet='librewolf https://www.nerdfonts.com/cheat-sheet &' alias codeberg="librewolf https://codeberg.org/ &" alias mankier="links https://www.mankier.com" alias sqlsc="links https://sqlservercentral.com" alias {gp,gopherpedia}="lynx gopher://gopherpedia.com:70" alias gopher="lynx https://gopher.floodgap.com/gopher/gw.lite" alias {ddg,duckduckgo}="links https://duckduckgo.com/lite" alias bangs="links ~/Documents/notes/ddg_bangs.html" # alias bangs="links https://duckduckgo.com/bang_lite.html" alias {cdread,cafedread}="links https://cafedread.com" alias wikipedia="links https://wikipedia.org" alias hackernews="links https://news.ycombinator.com/" alias hackernoon="librewolf https://hackernoon.com/ &" alias theregister="librewolf https://www.theregister.com &" alias apnews="links https://apnews.com" alias sheldonbrown="links https://sheldonbrown.com" alias somafm="links https://somafm.com" alias bandcamp="librewolf https://bandcamp.com/ &" alias {viruscomix,subnormality}="librewolf https://viruscomix.com/subnormality.html &" alias morningmark="librewolf https://twitter.com/MoringmarkMark &" # sustainable clothing brands (shoes and underwear) alias nothingnew="librewolf https://nothingnew.com &" alias wamaundies="librewolf https://wamaunderwear.com &" # Podcasts (downloadable using yt-dlp or wget, and playable using mpv) alias {1up,1upsmanship}="librewolf https://www.iheart.com/podcast/1119-1upsmanship-97574019/ &" alias smallbeans="librewolf https://soundcloud.com/user-682532119 &" alias lexfridman="librewolf https://lexfridman.com/podcast/ &" alias somemorenews="librewolf https://www.iheart.com/podcast/269-even-more-news-29429923/ &" # Privacy Related # simplelogin.io is like a VPN for email (aliases away your email address essentially) alias simplelogin="librewolf https://simplelogin.io/ &" # Onion Sites alias torch="links xmh57jrknzkhv6y3ls3ubitzfqnkrwxhopf5aygthi7d6rplyvk3noyd.onion/cgi-bin/omega/omega" alias {ddgt,duckducktor}="links https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion/" alias searx="links http://3afisqjw2rxm6z7mmstyt5rx75qfqrgxnkzftknbp2vhipr2nrmrjdyd.onion/" alias {hwiki,hiddenwiki}="links http://zqktlwiuavvvqqt4ybvgvi7tyo4hjl5xgfuvpdf6otjiycgwqbym2qad.onion/wiki/" alias {darknet,darknetlive}="links http://darkzzx4avcsuofgfez5zq75cqc4mprjvfqywo45dfcaxrwqg6qrlfid.onion/" alias ttaxi="links http://tortaxi7axhn2fv4j475a6blv7vwjtpieokolfnojwvkhsnj7sgctkqd.onion/" alias library="links http://libraryfyuybp7oyidyya3ah5xvwgyx6weauoini7zyz555litmmumad.onion/" alias ahmia="links http://juhanurmihxlp77nkq76byazcldy2hlmovfu2epvl5ankdibsot4csyd.onion/" alias darkside="links http://darksid3f3ggicny772rvdmrcgfbtixsyjpdgm6unh5qci6r24ukg4qd.onion/" alias breakbad="links http://bbzzzsvqcrqtki6umym6itiixfhni37ybtt7mkbjyxn2pgllzxf2qgyd.onion/" alias comix="links http://nv3x2jozywh63fkohn5mwp2d73vasusjixn3im3ueof52fmbjsigw6ad.onion" # Programming Resources # CS Basics # KnowledgeGate is a decent introduction to the basics of CS (mostly in Hindi though...) alias knowledgegate="librewolf https://www.youtube.com/c/KNOWLEDGEGATE_kg &" # CS50 is Harvard's Free Intro to CS course, their YT vids are good coverage of basics: alias cs50="librewolf https://www.youtube.com/c/cs50 &" # Algorithms and Data Structures alias techiedelight="librewolf https://www.techiedelight.com/ &" alias algoexpert="librewolf https://www.algoexpert.io/ &" # Video Series on solving leetcode questions in python alias deepti="librewolf https://www.youtube.com/playlist?list=PL2b9acjRfGcm4qYq5MH9LufsJ67-BgkAI &" #college courses (UNIX and SysAdmin) from stevens university: alias netmeister="librewolf https://stevens.netmeister.org &" alias buildyourown="librewolf https://github.com/codecrafters-io/build-your-own-x &" alias {tomprestonwerner,tpw}="links https://tom.preston-werner.com" #Videos on College Level Mathematics alias professorleonard="librewolf https://www.youtube.com/c/ProfessorLeonard &" # Blogs # Unix Sheikh, very good info regarding Unix and Linux alias unixsheikh="links https://unixsheikh.com" #Julia Evans, developer and general programming blog alias jvns="librewolf https://jvns.ca &" # inventor of REST blog: alias untangled="librewolf https://roy.gbiv.com/untangled/ &" # software development blog: alias joelonsoftware="librewolf https://www.joelonsoftware.com/ &" alias gabmus="librewolf https://gabmus.org/ &" # C Programming alias calgos="librewolf https://www.edureka.co/blog/sorting-algorithms-in-c/ &" alias cprogram="librewolf https://www.cprogramming.com/ &" alias learnc="librewolf https://learn-c.org &" alias cdemos="librewolf https://www.demo2s.com/c/c.html &" alias ctuts="librewolf https://www.tutorialspoint.com/c_standard_library/ &" alias csimplified="librewolf https://www.programmingsimplified.com/c/ &" alias cfaq="librewolf http://c-faq.com/ &" alias cboards="librewolf https://cboard.cprogramming.com &" alias crationale="librewolf https://www.lysator.liu.se/c/rat/title.html &" # awesome guide to network programming in C: alias beej="librewolf https://beej.us/guide/bgnet/html/ &" # X11 Resources alias xlibman="librewolf https://tronche.com/gui/x/xlib/ &" alias xorg="librewolf https://www.x.org/wiki/ &" alias xlibxcb="librewolf https://www.x.org/releases/X11R7.5/doc/libxcb/tutorial/ &" # Bash Scripting alias unixforums="librewolf https://www.unix.com &" alias bashforbeginners="librewolf https://tldp.org/LDP/Bash-Beginners-Guide/html &" alias advancedbash="librewolf https://tldp.org/LDP/abs/html/ &" # Linux Related News/Resources (includes artix and runit resources) alias kernelintro="links https://tldp.org/LDP/tlk/tlk.html" alias kernelorg="links http://vger.kernel.org/lkml/" alias archives="links https://archive.artixlinux.org/" alias forums="librewolf https://forum.artixlinux.org/ &" alias artixnews="artix-news | grep '\[News\]' | bat" # alias mirrors="links https://mirrors.dotsrc.org/artix-linux/" alias mirrors="links https://mirror1.artixlinux.org/" alias isos="links https://ftp.crifo.org/artix" alias smarden="links http://smarden.org/runit/" alias opengroup="librewolf https://publications.opengroup.org/ &" # Web Development Resources # for static site generation alias hugo="librewolf https://gohugo.io/ &" # for downloading web fonts alias gfontshelper="librewolf https://google-webfonts-helper.herokuapp.com/fonts &" #gfi is a utility that downloads google fonts from the cli: alias google-font-installer="gfi" # for icons(use svg codes as they are faster) alias iconify="librewolf https://iconify.design/ &" for domain names alias namecheap="librewolf https://namecheap.com/ &" # a great introduction to tls/ssl practices and rules of thumb: alias feistyduck="librewolf https://www.feistyduck.com/library/bulletproof-tls-guide/online/ &" # tutorials including how to set up ssl authentication and renewals with cerbot: alias easynewbie="librewolf https://easynewbie.com &" # even easier for ssl certificates is to use letsencrypt: alias letsencrypt="librewolf https://letsencrypt.org &" # and the official certbot documentation: alias certbotsite="librewolf https://certbot.eff.org &" #certbot has some issues when used with cron, acme.sh is an alternative: alias acmesh="librewolf https://github.com/acmesh-official/acme.sh &" # for colorizing code snippets alias prismjs="librewolf https://prismjs.com/ &" # cool front end ideas alias codinhood="librewolf https://codinhood.com/ &" # bun is an alternative to nodejs/npm, still in beta... check in from time to time alias bun="librewolf https://bun.sh/ &" # languagetool.org is a resource site for starting up an open source version of grammerly alias langtool="librewolf https://languagetool.org/dev/ &" # cssbattle is a web dev game site which challenges your css skills alias cssbattle="librewolf https://cssbattle.dev/ &" #egghead.io has a lot of free courses alias egghead="librewolf https://egghead.io/ &" # cool little demos website alias demo2s="librewolf https://www.demo2s.com &" # mothereffinghsl hsl color picker site alias mothereffinghsl="librewolf https://mothereffinghsl.com/ &" # icomoon is a site with free icons alias icomoon="librewolf https://icomoon.io &" #unsplash.com is an api site for developers to import and use photos alias unsplash="librewolf https://unsplash.com/developers &" # wesbos tutorials/articles/etc alias wesbos="/usr/bin/chromium --incognito --disable-search-engine-collection --fingerprinting-canvas-image-data-noise --fingerpriting-canvas-measuretext-noise --fingerprinting-client-rects-noise --popups-to-tabs https://courses.wesbos.com &" alias frontendmasters="librewolf https://frontendmasters.com/ &" # send text messages from an api (js, python, nodejs, curl, ruby, etc) (requires payment for more than 1 per day) alias textbelt="librewolf https://textbelt.com/ &" # cool video on fluid animation in css: # https://egghead.io/lessons/css-build-a-fluid-loading-animation-in-css # cool video on animating typing using css # https://codepen.io/aakhya/pen/EOxqOV/ # specifically a series of drop down animations in css # https://codepen.io/codypearce/pen/PdBXpj # beginner web developer portfolio examples: # https://www.mary-snopok.com/ # SOLID principles explained in JavaScript: # https://medium.com/@hayreddintuzel/solid-principles-with-examples-12f36f61796c # # Hardening your Web Applications and Other Security related stuff # for hardening nginx alias nginx_harden="librewolf https://gist.github.com/plentz/6737338 &" # harden a nodejs server alias nodejs_harden="librewolf https://blog.risingstack.com/node-js-security-checklist/ &" # ddgr shebang bookmarks alias ddgr="ddgr -x -n 25 --unsafe --proxy 127.0.0.1:8118" alias ducky="ddgr -jx -n 25 --unsafe --proxy 127.0.0.1:8118" alias {ddgi,dggi,images}='ddgr \!dggi "${1}"' alias aur='ddgr \!aur "${1}"' alias archwiki='ddgr \!archwiki "${1}"' alias wiki='ddgr \!w "${1}"' alias gh='ddgr \!gh "${1}"' alias mdn='ddgr \!mdn "${1}"' # must have account to use gitlab bang # alias glab='ddgr \!glab "${1}"' alias red='ddgr \!r "${1}"' # alias yt='ddgr \!yt "${1}"' # run the following two aliases every time you update the kernels and nvidiadkms alias {grub_update,update_grub}="doas grub-mkconfig -o /boot/grub/grub.cfg" alias regen_initramfs="doas mkinitcpio -P" # alias mpl="mplayer -fs" # alias {mloop,mploop}="mplayer -fs -loop 0" # # source scripts that need to utilize shell builtins alias {sd,sdir}="source $HOME/scripts/sdir" alias {rd,rdir}="source $HOME/scripts/rdir" source $HOME/.n_hidden alias "${scomm}"='cd "${secdir}" && mmpv * && home'