If you set the @dracula-fixed-location to "San Diego, California" it
ends up looking at "San" which is somewhere in South Korea. This occurs
for any fixed-location that has a space. Something like
"Portland, Oregon" can be modified to "Portland,Oregon" and still work
but we can't remove the space from "San Diego". The reason that spaces
in the fixed location break the backend request is that dracula.sh loses
everything after the space.
Q: Why does the fixed-location end up as "San"?
A: In dracula.sh the fixed-location is not wrapped in quotes when
embedded in the status-right string.
A: In weather_wrapper.sh the call to weather.sh does not wrap the
fixed-location argument with quotes.
Q: When these are fixed why do we get a broken link?
A: Since we are calling a web service using a url, we need to escape
the spaces by changing them to %20
Shows user and hostname of active ssh session if any in the current tmux pane. Connected port
is also available to show under configuration option (default false)
Resolves an issue cause by a syntax error and a removed executable bit
introduced by dracula/tmux#153.
The syntax/permissions issue stops the plugin from running properly when
I ran into the issue earlier today.
The missing executable bit is likely what's causing dracula/tmux#178
given that `man bash` has the following excerpt:
> If a command is found but is not executable, the return status is 126.
With this new option, we get information about which remote branch we're
tracking. On top of this, we'll get information about ahead/behind
commits when we diverged from remote. The output format will be in the
form:
'local...remote +ahead -behind',
where ahead and behind are the number of commits ahead and behind.
This functionality is controlled by a new option called
'@dracula-git-show-remote-status'.
Note that for this to be properly displayed, we need to increase the
size of the right status bar when the git plugin is enabled.
In order to be easier to introduce the change, getMessage() was also a
bit changed in order to be easier to append the remote info.
Signed-off-by: Nuno Sá <noname.nuno@gmail.com>