Parcourir la source

Don't load bashrc in tty-less mode (e.g. ssh with command)

Sam Jaffe il y a 6 ans
Parent
commit
8fe906aa4e
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      bashrc

+ 1 - 0
bashrc

@@ -1,3 +1,4 @@
+[ ! -t 0 ] && return
 stty -ixon
 
 . ${HOME}/.profile-util