diff --git a/bashrc b/bashrc index e0cb043..6b3dc6e 100755 --- a/bashrc +++ b/bashrc @@ -1,7 +1,7 @@ #!/bin/bash # If not running interactively, don't do anything -[ -z "$PS1" ] && return +[[ $- != *i* ]] && return ########################################## null(){