diff --git a/bashrc b/bashrc index 61364ed..391ad91 100644 --- a/bashrc +++ b/bashrc @@ -2,16 +2,13 @@ # Based on example .bashrc as provided by Debian -# This file is only meant for interactive shells -[[ $- != *i* ]] && return +# If not running interactively, don't do anything +[ -z "$PS1" ] && return # Environment variables go here export LANG=en_US.UTF-8 export PATH=${HOME}/.local/share/perl5/bin:${HOME}/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/bin:/usr/sbin:/sbin:/usr/local/sbin -# If not running interactively, don't do anything -[ -z "$PS1" ] && return - # History control HISTCONTROL=ignoreboth HISTZIE=20000