On Mon, Mar 2, 2015, at 12:17 PM, Ryan Burnett wrote:
> set -e $fish_user_paths[1]
> 
> ...I get this error:
> 
> set: Erase needs a variable name

Lose the dollar sign: set -e fish_user_paths[1]  

Look at the examples in 'man set'.  When you use the dollar sign it
dereferences the variable, i.e. turns it into its value.

-- 
http://www.fastmail.com - Choose from over 50 domains or use your own


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to