So that I do not forget. This is important for consistency.

Comments

moshe weitzman’s picture

And @self should show up in sa command, no? It currently does not at AFAICT

greg.1.anderson’s picture

Issue tags: +drush-3.0
greg.1.anderson’s picture

Status: Active » Needs review
StatusFileSize
new2.77 KB

Here is a patch that creates the alias "@self". Two notes.

  1. "current" was removed a while ago, so you won't see a reference to that in this patch.
  2. I don't think that @self should show up in the sa command, as @self represents an alias that is already in the list. If @self was included, then sa --pipe would show one site twice, which would be inconvenient.
moshe weitzman’s picture

I think it would help folks if @self shows up. That way we can write tutorials including sa command and have them make sense. We can filter it from --pipe.

greg.1.anderson’s picture

Hm, actually, @self does show up in sa in patch #3, but only if some site is bootstrapped (after drush_bootstrap_max).

This patch also insures that only unique values will appear in the output of drush sa --pipe

greg.1.anderson’s picture

StatusFileSize
new3.4 KB

And now with patch...

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community
greg.1.anderson’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

Status: Fixed » Closed (fixed)
Issue tags: -drush-3.0

Automatically closed -- issue fixed for 2 weeks with no activity.