fish-shell/fish-shell — pull request #141 by evanj (2012-06-17 11:08:10+00:00)
Title: Fix broken alias command on Mac OS X

Sed on Mac OS X doesn't support \n in the right hand side of a replacement. This broke the alias script. Example:

ej@Yamnuska ~/unnamed> echo ec2-ssh=ssh | sed -e 's/\([^=]\)=/\1\n/'
ec2-sshnssh

This fixes it.