Created
October 4, 2012 18:44
-
-
Save smujohnson/3835570 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# new and improved! | |
# | |
# N.B.: how I felt about legacy tar syntax: http://i.imgur.com/fsZI0.jpg | |
tar () { | |
local main_arg="$1" | |
if [ "${main_arg:0:1}" != "-" ] ; then | |
main_arg="-$main_arg" | |
fi | |
/bin/tar -a "$main_arg" -v -f "${@:2}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment