Fedora a Debian ignorují ~/.screenrc

Fedora a Debian ignorují ~/.screenrc
« kdy: 09. 04. 2020, 21:42:55 »
Kód: [Vybrat]
$ echo "echo .screenrc" > ~/.screenrc
$ screen
Nedela nic. Zadny vypis se nekona.


Kód: [Vybrat]
$ ln -s ~/.profile ~/.screenrc
Nenacita zadne aliasy.
« Poslední změna: 10. 04. 2020, 10:02:18 od Petr Krčmář »


Re:Fedora a Debian ignorují ~/.screenrc
« Odpověď #1 kdy: 10. 04. 2020, 16:19:55 »
no a není to tím, že .screenrc není sh skript, ale konfigurační soubor screen, teda tam nemá být echo ani alias

já třeba mám

Kód: [Vybrat]
hardstatus off
hardstatus alwayslastline
hardstatus string '%{= bG} %{G}[ %{G}%H %{G}] %{g}[%= %{= bw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{W} %d.%m.%Y %{W} %c %{R} %l %{g}]'
startup_message off
term screen-256color
defscrollback 10000
defutf8 on
vbell off
defnonblock on
defflow off