Look, here is how it works in fish: ..> set foo ~/hi ..> echo $foo /home/me/hi ..> set foo "~/hi" ..> echo $foo ~/hi
Perhaps you were confused by quoting? Philip Ganchev wrote: > Fish expands "~" when you access the variable, so why confusion and > why unnecessary typing? > > On Thu, Sep 17, 2009 at 11:04 AM, Ken Kinder <[email protected]> wrote: >> In Bash, when you set an environment variable to "~/foo", the shell >> automatically expands your home directory. However in fish, if you use the >> set command to set an environment variable, it does not expand ~. This leads >> to some confusion and unnecessary typing, IMHO. >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Fish-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/fish-users > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Fish-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fish-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
