[X2Go-User] Good thing to add to .bashrc and .cshrc files

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Sun Jul 21 14:44:46 CEST 2019


Hi,

On  Mi 10 Jul 2019 16:29:01 CEST, Jeff Sadowski wrote:

> I had posted the bash one here before I just ran into some tcsh users
> that where having similar issues so I thought it might be helpful.
>
> My .bashrc starts with the 2 lines
>
> if [ "$BASH_EXECUTION_STRING" != "" ]; then return 0; fi
> # do not add items before this line
>
> This helps with sftp and x2go if you have things that interfere with
> x2go or sftp like changing directories or adding paths that might
> interfere or just code block that might interfere.
>
> for tcsh add the following 2 lines to the top of your .cshrc
>
> if ( `set |grep "^command.bash" |grep "X2GO"` != "" ) exit
> # do not add items before this line

As we cannot fiddle with user space files (~/.bashrc and such) in  
packaging, this should either be reported to your distro's bash  
package (to modify .bashrc in /etc/skel) or added to the X2Go wiki.

Greets,
Mike
-- 

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20190721/c0fd77a9/attachment.sig>


More information about the x2go-user mailing list