There's a really cool feature in zsh that allows you to uniquely add a
string to the path, if it did not exist before:
typeset -U path
This makes all items in path have to be unique, so then, if you do:
path=(/foo/bin $path)
path=(/foot/bin $path)
You will NOT have two /foo/bin(s) in your path.
Is there an equivalent way to do this in fish?
-Dave
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users