Skip to content

Commit

Permalink
Added some aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
eko committed Sep 17, 2017
1 parent ff3facc commit 4851acf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .aliases
Expand Up @@ -8,6 +8,9 @@ alias -- -="cd -"
# cURL
alias curltime="curl -w \"\nConnect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} \n\""

# Docker
alias dce="docker-compose exec"

# Recursively delete `.DS_Store` files
alias cleanup="find . -type f -name '*.DS_Store' -ls -delete"

Expand All @@ -21,3 +24,6 @@ alias ifactive="ifconfig | pcregrep -M -o '^[^\t:]+:([^\n]|\n\t)*status: active'

# Updates macOS applications and updates Homebrew packages
alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup'

# Merge some PDFs, usage: pdfmerge file1.pdf file2.pdf
alias pdfmerge='/System/Library/Automator/Combine\ PDF\ Pages.action/Contents/Resources/join.py -o output.pdf'

0 comments on commit 4851acf

Please sign in to comment.