X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=bash-skel-.bashrc;h=16709995cdb98b148b81dd6e57ced0c42ae4e152;hb=c8bd274e9e7c52b74132e3584818a748dd7c0e5b;hp=db1e45d8c1f4f5bc753fc0bc03e1d52d1e7b2938;hpb=f55ad573dece8af7738f6594aa853a9fe3bb76bf;p=packages%2Fbash.git diff --git a/bash-skel-.bashrc b/bash-skel-.bashrc index db1e45d..1670999 100644 --- a/bash-skel-.bashrc +++ b/bash-skel-.bashrc @@ -4,4 +4,9 @@ if [ -f /etc/bashrc ]; then . /etc/bashrc fi +# return if the shell is not interactive (called from scp, etc) +if [[ $- != *i* ]]; then + return +fi + # Put your local aliases here