Thanks, I did actually try that as well but it didn't work. It seems that I can't set my path properly for some reason, I'm reinstalling fish - hopefully that will fix whatever the problem is.
On 13/12/2010 15:24, Philip Ganchev wrote: > On Mon, Dec 13, 2010 at 2:10 AM, i...@whywouldwe.com > <i...@whywouldwe.com> wrote: >> Is there a way to add to the end of an >> environment variable that is an array >> without explicitly specifying the index? > set -Ux PATH $PATH /some/path > > [...] >> set -Ux PATH[-1] /some/path >> >> will change the last element but >> >> set -Ux PATH[-0] >> >> gives `set: Array index out of bounds` > That would be a good feature. ------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users