What are your favorite/dumbest aliases to use when you're feeling lazy?

This page summarizes the projects mentioned and recommended in the original post on /r/archlinux

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • thefuck

    Magnificent app which corrects your previous console command.

    I recommend thefuck instead of an alias since it offers suggestions for a lot of different errors.

  • config

    I like using short aliases like e for emerge and v for nvim: https://gitlab.com/glibg10b/config/-/blob/main/zsh/zshrc.d/50-aliases.zsh

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • wd

    :rocket: Jump to custom directories in zsh

    Since I use wd to switch to project directories, I created an alias to quickly search through my projects and switch to a directory:

  • cheat.sh

    the only cheat sheet you need

    ❯ cat .zsh.d/aliases.zsh alias ll='ls -lah --group-directories-first' alias ..='cd ..' alias venv="python -m venv .venv --prompt $(basename $(pwd))" alias systimers="systemctl list-units --type=timer" alias sysservices="systemctl list-units --type=service" alias sysstart="sudo systemctl start" alias sysstop="sudo systemctl stop" alias sysrestart="sudo systemctl restart" alias sysstatus="sudo systemctl status" alias sysenable="sudo systemctl enable" alias ping='ping -c 4' alias uuid='sudo blkid -s UUID -o value' function mkcd () { mkdir -p $1 && cd $1 } function wiki() { search_term=$(echo $@ | sed 's/ /+/g') lynx https://wiki.archlinux.org/index.php\?search\=${search_term} } function wtfis() { curl "https://cheat.sh/$1" }

  • jc

    CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.

    my general rule of thumb for aliases is, if it's not in tldr or man, than it's free range. in this case, it's really too bad https://github.com/kellyjonbrazil/jc exists. in reality it's something i'll probably never have a need to use, but there's a lingering preventative feeling keeping me from aliasing "jc" due to the fact that the real jc is actually pretty freaking cool.

  • yt-dlp

    Discontinued MOVE TO NIGHTLY BUILDS FROM YT-DLP. DO NOT USE (by ytdl-patched)

    recommend replacing youtube-dl with yt-dlp

  • exa

    A modern replacement for ‘ls’.

    that I use a git statusreplacement using exa which I think is a bit nicer as it skips the explanatory test and gives the difference as a tree view.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • There's also d and D which map to this function.

  • pso

    Pretty Straightforward Opener (by galatolofederico)

    o for open - aliased to pso, a simpler/easier xdg-open alternative.

  • taptempo.py

    a simple python tap-tempo utility meant to be used from the command-line

    taptempo - aliased to my simple python taptempo script

  • scripts

    My personal collection of scripts. (by defaultxr)

    I also have quite a few other scripts I've written published here, with more to come when they're worth sharing.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts