Closed balupton closed 7 years ago
Thanks @balupton! This should only happen after install, so in new sessions it will work, but I'll look into fixing the problem.
@jbucaran $__done_initial_window_id
is always empty in the session where done
is installed. I assume it is due to the way fisherman is sourcing the files on install?
This needs variable needs to be local to the session.
I guess so.
@jbucaran any idea for a fix?
Sorry, I don't understand the issue. What's the problem?
@jbucaran $__done_initial_window_id
is not (being set/available) in the session where fisherman/done
is installed.
fisherman/done
for the first timesleep 11
test: Missing argument at index 2
coming from this linesleep 11
@aristidesfl Make sure to declare __done_initial_window_id
as a global variable.
set -g __done_initial_window_id
@jbucaran won't that break the plugin if two different windows are being used at the same time?
Never mind, I confused global with universal variables. 😅
Fixed in 1.2.2
@jbucaran thanks! fisherman
doesn't seem to always install the latest version without update
. Is there some caching going on?
@aristidesfl Ah, yes, stuff in the cache takes precedence. Perhaps we could force to download fresh and use the cache only if that (download) fails.
@jbucaran I think that would better satisfy expectations, talking from the point of view of someone used to homebrew.
@aristidesfl Ah, yes, stuff in the cache takes precedence. Perhaps we could force to download fresh and use the cache only if that (download) fails.
+1 on that, even knowing this behaviour it is still confusing. For me, I had run fisher rm done
, then fisher done
- and it installed from cache again (there is also no message to say that it installed from cache). So it seems one has to install then update, which isn't intuitive.