[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: *term -ls, a summary



On Tue, Jul 23, 2002 at 07:55:37PM -0500, Joe Wreschnig wrote:
> And despite what you've said in other threads, bashrc is not sourced
> for non-interactive shells, it's ignored. (If it's not ignored, this
> is a bug in bash and that should be fixed, rather than using insane
> terminal configurations.)

Also, it's easy to test whether a shell is interactive or not even if
your shell does behave that way:

  case $- in
    *i*)
      # do interactive stuff
      ;;
    *)
      # do non-interactive stuff
      ;;
  esac

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: