terminal - Bash printing unnecessary things on new session since MacOS update -


the following line in /etc/bashrc_apple_terminal

shell_session_history_enable() {         (umask 077; touch "$shell_session_histfile_new") <<< line         histfile="$shell_session_histfile_new"         shell_session_history=1     } 

is printing on every new session.

/users/me/.bash_sessions/717f6632-a946-44ee-8a27-2547eddd09e9.historynew stats {   dev: 16777220,   mode: 33152,   nlink: 1,   uid: 501,   gid: 20,   rdev: 0,   blksize: 4096,   ino: 1406878,   size: 0,   blocks: 0,   atimems: 1502801769000,   mtimems: 1502801769000,   ctimems: 1502801769000,   birthtimems: 1502801769000,   atime: 2017-08-15t12:56:09.000z,   mtime: 2017-08-15t12:56:09.000z,   ctime: 2017-08-15t12:56:09.000z,   birthtime: 2017-08-15t12:56:09.000z } 

closest thing when since last macos update.

what's elegant way solve without changing file don't want change?

this post answers question

how deactivate bash_history stats print when opening new terminal window on mac?

i didn't entertain possibility there alias touch, indeed case.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -