mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 14:01:20 -03:00
Support for tab cyling through completions
https://github.com/fish-shell/fish-shell/issues/84
This commit is contained in:
15
complete.cpp
15
complete.cpp
@@ -279,6 +279,21 @@ completion_t &completion_t::operator=(const completion_t &him)
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool completion_t::operator < (const completion_t& rhs) const
|
||||
{
|
||||
return this->completion < rhs.completion;
|
||||
}
|
||||
|
||||
bool completion_t::operator == (const completion_t& rhs) const
|
||||
{
|
||||
return this->completion == rhs.completion;
|
||||
}
|
||||
|
||||
bool completion_t::operator != (const completion_t& rhs) const
|
||||
{
|
||||
return ! (*this == rhs);
|
||||
}
|
||||
|
||||
wcstring_list_t completions_to_wcstring_list( const std::vector<completion_t> &list )
|
||||
{
|
||||
wcstring_list_t strings;
|
||||
|
||||
Reference in New Issue
Block a user