mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-21 08:51:14 -03:00
Large set of changes to how PATH is handled. Changed fish to no longer modify PATH in share/config.fish. Introduced variable fish_user_paths, and a glue function __fish_reconstruct_path that splices together PATH with fish_user_paths. Changed fish to no longer validate changes to PATH unless the paths are new (i.e. don't recheck what's already there). Modified certain sets to store const wchar_t instead of wcstring to save a few allocations.
https://github.com/fish-shell/fish-shell/issues/527
This commit is contained in:
@@ -425,7 +425,7 @@ static int read_byte(connection_t *src)
|
||||
if (src->buffer_consumed >= src->read_buffer.size())
|
||||
{
|
||||
char local[ENV_UNIVERSAL_BUFFER_SIZE];
|
||||
|
||||
|
||||
ssize_t res = read(src->fd, local, sizeof local);
|
||||
|
||||
// debug(4, L"Read chunk '%.*s'", res, src->buffer );
|
||||
@@ -600,7 +600,7 @@ static void parse_message(wchar_t *msg,
|
||||
{
|
||||
wchar_t *val;
|
||||
const wcstring key(name, tmp - name);
|
||||
|
||||
|
||||
val = tmp+1;
|
||||
val = unescape(val, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user