diff options
-rw-r--r-- | .aliases | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -116,6 +116,11 @@ alias plistbuddy="/usr/libexec/PlistBuddy" # (useful when executing time-consuming commands) alias badge="tput bel" +# Intuitive map function +# For example, to list all directories that contain a certain file: +# find . -name .gitattributes | map dirname +alias map="xargs -n1" + # One of @janmoesen’s ProTip™s for method in GET HEAD POST PUT DELETE TRACE OPTIONS; do alias "$method"="lwp-request -m '$method'" |