Aaron Gyes
f966248f16
string.fish: use if/else. Reindent.
2016-07-02 11:40:22 -07:00
Aaron Gyes
e597df70d7
Check if fish -c string will work first.
2016-07-02 11:05:04 -07:00
Aaron Gyes
431589a16a
Use fish -c string ... as the string
fallback.
...
We can again drop the prompt_pwd check.
2016-07-01 00:00:53 -07:00
Aaron Gyes
534c1287ca
Add back prompt_pwd to solve empty output problem
...
..by not manipulating path at all if we do not have
the tools to do so.
Tag changes with better comments.
2016-06-26 20:54:04 -07:00
Aaron Gyes
02f578a82d
echo the no-string errors to stderr and return 1.
...
Fix output on launch
Drop __fish_urlencode.fish
Drop prompt_pwd.fish
2016-06-26 16:25:41 -07:00
Aaron Gyes
dfb4998778
Work around absent `string' in old fishies upgrading.
...
Improves experience during upgrades, accidentally running
an old fish with a new environment. No errors just from
printing a prompt. Fixes #3057 .
Print helpful notice also when launching mismatched fish.
Autoloadable string.fish -- only create function if not builtin.
2016-06-26 16:25:41 -07:00