o4-mini-2025-04-16· OpenAI LMArena Human Preference 140K
Give me a complete list of aliases to put into my .bashrc, including q for exit and c…
- User
Give me a complete list of aliases to put into my .bashrc, including q for exit and c for clear, and also don't forget yt-dlp aliases (480p resolution, 720, 1080, just the audio, etc). Also add an alias for using reflector to save the most recently updated (not fastest connection) arch repo mirrors to mirrorlist.
- Assistant
Here’s a ready‐to‐paste snippet for your ~/.bashrc. It includes:
• q → exit shell
• c → clear screen
• yt-dlp aliases for 480p, 720p, 1080p and audio-only
• reflector alias to grab the most‐recently updated Arch mirrors# ┌─────────────────────────────────────────────────────────┐ # │ YOUR ~/.bashrc │ # └─────────────────────────────────────────────────────────┘ # === Basic shortcuts === alias q='exit' # quick exit alias c='clear' # clear terminal # optional extras alias ll='ls -lha' # long listing, hidden, human sizes alias ..='cd ..' # up one directory # === yt-dlp (youtube-dl fork) aliases === # Download best audio only (mp3) alias ytaudio="yt-dlp -f bestaudio --extract-audio --audio-format mp3 --audio-quality 0" # Download video ≤480p + best audio alias yt480="yt-dlp -f 'bestvideo[height<=480]+bestaudio/best[height<=480]'" # Download video ≤720p + best audio alias yt720="yt-dlp -f 'bestvideo[height<=720]+bestaudio/best[height<=720]'" # Download video ≤1080p + best audio alias yt1080="yt-dlp -f 'bestvideo[height<=1080]+bestaudio/best[height<=1080]'" # === Reflector: get most-recently updated mirrors === # Grabs the 20 most recently synchronized HTTPS mirrors and overwrites mirrorlist alias refl_new="sudo reflector \ --protocol https \ --latest 20 \ --sort age \ --save /etc/pacman.d/mirrorlist" # ═════════════════════════════ # To apply immediately, run: # source ~/.bashrcFeel free to tweak:
--latest 20→ change how many mirrors you want- add country filters via
--country US,DE - for other yt-dlp formats, see
yt-dlp -F <URL>
Enjoy! 🚀
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.