From bash to zsh and everywhere in between, show me yours and I’ll show you mines. Inspire others or get some feedback.
Simply copy & paste the output of alias in your terminal or add some comments to explain things for others.
From bash to zsh and everywhere in between, show me yours and I’ll show you mines. Inspire others or get some feedback.
Simply copy & paste the output of alias in your terminal or add some comments to explain things for others.
alias getmp4="yt-dlp -f 'bestvideo+bestaudio[ext=m4a]/best[ext=mp4]' --recode-video mp4" alias getmp3="yt-dlp -x --audio-format mp3" alias downloadwebsite="wget -mkEpnp" flushall () { sudo pacman -Scc sudo pacman -Rns $(pacman -Qdtq) flatpak uninstall --unused } updateall () { yay flatpak update while read -p "Clear cache and uninstall orphans? (y/N)" answer do case $answer in ([yY][eE][sS] | [yY]) flushall;; (*) break;; esac done }