Hi Diego,
Thanks for your reply. When I:
set -e $fish_user_paths[1]
...I get this error:
set: Erase needs a variable name
Next I tried:
set -e $fish_user_paths[/usr/local/php5]
...and received the same error.
Any idea how I can remove the /usr/local/php5 path from my $fish_user_paths?
Thanks,
Ryan
On Sun, Mar 1, 2015 at 10:45 PM, Diego Zamboni <di...@zzamboni.org> wrote:
> Hi Ryan,
>
> According to the documentation you can do:
>
> set -e $fish_user_paths[X]
>
> Where X is the element you want to delete (arrays start at 1 in fish).
>
> See http://fishshell.com/docs/current/commands.html#set:
>
> "In erase mode, if variable indices are specified, only the specified
> slices of the array variable will be erased.”
>
> —Diego
>
>
> On Mar 1, 2015, at 4:10 PM, Ryan Burnett <ryanjburn...@gmail.com> wrote:
>
> I accidentally added a path to $fish_user_paths:
>
> set -U fish_user_paths $fish_user_paths /usr/local/php5
>
> How can I remove this /usr/local/php5 path?
>
> ------------------------------------------------------------------------------
> 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
>
>
>
------------------------------------------------------------------------------
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