On Fri, 24 May 2019, Christian wrote:
> I encountered strange behaviour when typing "screen " in the terminal.
>
> To be clear: the package "screen" is NOT installed on my system!
>
> By accident I typed "screen " (i.e. hitting Space Bar after "screen",
> NOT the "enter"-key).
> The following content appeared in the terminal:
>
> rosika@rosika-Lenovo-H520e ~> screen
> Der Befehl 'screen' wurde nicht gefunden, kann aber installiert werden mit:
>
> sudo apt install screen
>
> - (Zeile 1):
> begin; screen -ls __fish_i_don_t_think_this_will_be_matched
> ^
> from sourcing file -
> called on line 60 of file /usr/share/fish/functions/eval.fish
>
> Unbekannte Funktion 'eval'
> called on line 2 of file /usr/share/fish/completions/screen.fish
>
> Befehlsersetzungsblock
> called on line 0 of file /usr/share/fish/completions/screen.fish
>
> Unbekannte Funktion '__fish_detect_screen_socket_dir'
> called on line 50 of file /usr/share/fish/completions/screen.fish
>
> from sourcing file /usr/share/fish/completions/screen.fish
> called on standard input
>
> Befehlsersetzungsblock
> called on standard input
>
> ^C
> rosika@rosika-Lenovo-H520e ~> echo $status
> 0
>
> I had to terminate with CTRL+C. Otherwise I wouldn´t have got my prompt
> back.
>
> Does anyone know what was going on?
This is a bug in the completion machinery, where completion files are
loaded even if the program does not exist
(https://github.com/fish-shell/fish-shell/issues/2365).
It is fixed in fish 3.0, so I encourage you to upgrade to a newer version
if possible.
David Adam
fish committer
zanc...@ucc.gu.uwa.edu.au
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users