# HG changeset patch # User Oleksandr Gavenko # Date 1298646055 -7200 # Node ID 56812afaac27ce43848b8ad663a94b57af26957d # Parent 755c1ce813ab6ef3cde346b1deac3bc81d6eb3cd By default 'xterm' start shell with '-i', so it interactive. But if it also login shell then ~/.bashrc will not be read. Awful! diff -r 755c1ce813ab -r 56812afaac27 .Xdefaults --- a/.Xdefaults Fri Feb 25 17:00:04 2011 +0200 +++ b/.Xdefaults Fri Feb 25 17:00:55 2011 +0200 @@ -17,9 +17,18 @@ ! emacs.geometry: 20x20+0+0 ! emacs.FontBackend: xft +XTerm*background: white +XTerm*foreground: black +XTerm*cursorColor: brown ! Allow Alt as Meta in Emacs: XTerm*eightBitInput: false XTerm*metaSendsEscape: true +! When an interactive shell that is not a login shell is started, bash reads +! and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files +! exist. +! By default 'xterm' start shell with '-i', so it interactive. But if it also +! login shell then ~/.bashrc will not be read. Awful! +XTerm*loginShell: false Rxvt*background: white @@ -30,14 +39,14 @@ ! Rxvt*boldFont: 7x14 Rxvt*scrollBar: on Rxvt*saveLines: 5000 -! By default rxvt start shell without args, so it interactive. But if it also login shell -! then ~/.bashrc will not be read. Awful! +! When an interactive shell that is not a login shell is started, bash reads +! and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files +! exist. +! By default rxvt start shell without args, so it interactive. But if it also +! login shell then ~/.bashrc will not be read. Awful! Rxvt*loginShell: false xpdf*initialZoom: width -! xterm*font: 10x20 -! XTerm*loginShell: true - ! Xft.hinting: none ! Xft.dpi: 96