Switch branches/tags
Nothing to show
Commits on Jan 2, 2012
  1. Better `json` function

    mathiasbynens committed Jan 2, 2012
    Ref. 9b0af44
  2. Use `tar -z` explicitly

    mathiasbynens committed Jan 2, 2012
    Ref. #35.
Commits on Dec 31, 2011
  1. Remove old `server` alias

    mathiasbynens committed Dec 31, 2011
    Ref. 958517d
Commits on Dec 29, 2011
  1. Allow running with a --force or -f option

    mathiasbynens committed Dec 29, 2011
    This avoids the confirmation prompt.
  2. Make `emptytrash` empty the trash for mounted external volumes too

    mathiasbynens committed Dec 29, 2011
    The downside is that this requires `sudo`. Closes #32.
Commits on Dec 28, 2011
  1. Add `unidecode` function

    mathiasbynens committed Dec 28, 2011
        $ unidecode "\x{1D306}"
Commits on Dec 27, 2011
  1. Add `escape` function which escapes UTF-8 characters into their 3-byt…

    mathiasbynens committed Dec 27, 2011
    …e format
        $ escape "♥♡♥"
        $ echo -e "\xE2\x99\xA5\xE2\x99\xA1\xE2\x99\xA5"
Commits on Dec 22, 2011
Commits on Dec 21, 2011
Commits on Nov 18, 2011
  1. Merge pull request #29 from danawoodman/patch-1

    mathiasbynens committed Nov 18, 2011
    Remove duplicate `set mark-symlinked-directories on` settings.
Commits on Nov 17, 2011
Commits on Nov 16, 2011
Commits on Oct 23, 2011
Commits on Oct 22, 2011
  1. Add `cleanup` alias, which recursively deletes `.DS_Store` files. Use…

    mathiasbynens committed Oct 22, 2011
    …ful for cleaning up external HDDs after copying over some folders.
  2. Don’t source .bash_profile when PS1 is not set (for non-interactive s…

    mathiasbynens committed Oct 22, 2011
    Stolen from @janmoesen’s
    # This might seem backwards when you look at the "Bash startup files" reference
    # <> or
    # the "INVOCATION" section in the man page. However, my workflow typically is:
    # * Open a terminal with four shells in tabs
    # * Edit code in Vim, and shell out using ":sh"
    # The initial four shells are login shells, so they source ~/.bash_profile.
    # The shells spawned by Vim are not login shells, but they /are/ interactive.
    # They look for .bashrc, but not .bash_profile. Because they are interactive,
    # PS1 is set, so I know it is OK to run all the shell initialisation code.
    # If I were to put the contents of ~/.bash_profile in ~/.bashrc and make the
    # former source the latter, I would have to wrap the entire contents of the
    # latter in a huge "if [ -n "$PS1" ]; then ... fi" block. That does not really
    # help readability, does it?
    # The difference between a login shell and an interactive non-login shell is
    # moot for me, so I consider all interactive shells to be equal and wanting
    # the same treatment.
    # If you're wondering what a non-interactive shell might be, i.e. when PS1
    # might not be set, try this:
    #     ssh localhost 'echo "PS1: >$PS1<"'