mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 13:01:21 -03:00
Cleanup expand_escape_variable
This commit is contained in:
@@ -203,8 +203,6 @@ void completion_autoload_t::command_removed(const wcstring &cmd) {
|
||||
}
|
||||
|
||||
|
||||
static void complete_free_entry( complete_entry_t *c );
|
||||
|
||||
/**
|
||||
Create a new completion entry
|
||||
|
||||
@@ -1594,7 +1592,7 @@ static int complete_variable( const wchar_t *whole_var,
|
||||
flags = COMPLETE_NO_CASE | COMPLETE_DONT_ESCAPE;
|
||||
}
|
||||
|
||||
wcstring value = expand_escape_variable2( value_unescaped );
|
||||
wcstring value = expand_escape_variable( value_unescaped );
|
||||
|
||||
wcstring desc = format_string(COMPLETE_VAR_DESC_VAL, value.c_str());
|
||||
completion_allocate( comp_list,
|
||||
|
||||
Reference in New Issue
Block a user