ridiculousfish on master
Remove lrand48 checks and suppo… (compare)
__fish_print_helpis annoying. We can probably get rid of
ulsince it just converts some weird bold/underline sequences to ANSI ones, and
lesscan read both.
man /usr/share/man/man1/fish.1.gzbut that takes 300ms(!) here, three times slower than
system('set -U')after using a script that calls
set -Ux SOME_VAR. Any reason there would be two different values for
set -Uin Vim when that doesn't show running directly in Fish?
:!echo $SOME_VARwill give the global version but
:!set -Ushows the universal one — is it possible to get the value of that one somehow without doing some parsing from the output of
set -Uis specifically listing universal variables
@faho Yea sorry, it's kind of a weird situation. In Vim, it seems like universal variables are getting copied into the global scope for the vim session if they're updated in the background. Here's how to repro:
set -Ux TEST "something" vim . :!set -S TEST # should only have a universal version set <Ctrl-z> # send vim to background set -Ux TEST "new value" fg :!set -S TEST # TEST now has a global value of "something"
Ideally, this wouldn't create a global value and would only be the universal one I think?
status filename, but there's also
status current-command, depending on what you're using it for.