No logging when SSH with SYSLOG_HISTORY

2014-11-24 Thread Wladislav Wiebe
Hi! for some reason is this bash logging feature only working when the bash is a "bash", but in case it is a "-bash" it doesn't start logging. Means, a simple use case: ssh user@somemachine $ echo $0 -bash (no bash logging so far) when typing "bash" $ bash $ echo $0 bash --> now logging work

Re: to add ".bash/" along with ".bashrc" as the default init dir.

2014-11-24 Thread Greg Wooledge
On Mon, Nov 24, 2014 at 10:52:30AM -0500, Steve Simmons wrote: > My preference would be that the search order for any bash dotfiles are > ~/.bash/file, then ~/.file. It's backwards-compatible, and for those of us > who have $HOME in a single filesystem across many machines, a symbolic or > hard lin

Re: to add ".bash/" along with ".bashrc" as the default init dir.

2014-11-24 Thread Steve Simmons
On Nov 23, 2014, at 2:08 PM, Chet Ramey wrote: > On 11/23/14 5:54 AM, Xie Yuheng wrote: >> we should add ".bash/" along with ".bashrc" as the default init dir. >> this will make things more flexible, and will not break any existed code. >> to be "default" is important, people who right simple ma