Skip to content

Instantly share code, notes, and snippets.

@nafisk
Forked from hellerbarde/shell_aliases
Created August 15, 2024 20:12
Show Gist options
  • Select an option

  • Save nafisk/7486601d33c9a73909bdd70141bcc78d to your computer and use it in GitHub Desktop.

Select an option

Save nafisk/7486601d33c9a73909bdd70141bcc78d to your computer and use it in GitHub Desktop.

Revisions

  1. @hellerbarde hellerbarde created this gist Nov 18, 2015.
    26 changes: 26 additions & 0 deletions shell_aliases
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    # Be nice to your computer
    alias please='sudo'
    alias plz='sudo'

    # file managing stuff
    alias r="PYTHONOPTIMIZE=1 /usr/bin/ranger"
    alias l='ls'
    alias perm='stat -c %a'

    # Dogit
    alias such=git
    alias very=git
    alias wow='git status'

    # Doge computing FTW
    alias stahp='poweroff'


    # simple webserver
    alias http="python -m http.server"

    # json prettify
    alias json="python -m json.tool"

    # get public ip
    alias myip="curl ifconfig.me"