mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 23:21:15 -03:00
7 lines
238 B
Fish
7 lines
238 B
Fish
# localization: skip(private)
|
|
function __fish_complete_user_at_hosts -d "Print list host-names with user@"
|
|
for user_at in (commandline -ct | string match -r '.*@'; or echo "")(__fish_print_hostnames)
|
|
echo $user_at
|
|
end
|
|
end
|