a BLOG

Thursday, July 5, 2012

If not running interactively, don't do anything

# If not running interactively, don't do anything
[[ $- != *i* ]] && return
Posted by Lekho at 11:41 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Search This Blog

Labels

  • noproxy (1)
  • proxy (1)
  • Proxywise (1)
  • redirect (1)

About Me

View my complete profile

Blog Archive

  • ►  2018 (1)
    • ►  January (1)
  • ►  2017 (1)
    • ►  March (1)
  • ►  2016 (1)
    • ►  February (1)
  • ►  2015 (6)
    • ►  July (3)
    • ►  April (1)
    • ►  February (2)
  • ►  2014 (1)
    • ►  May (1)
  • ▼  2012 (7)
    • ▼  July (6)
      • Notifty when a computer is on
      • openMPI compile static libraries
      • tentative cmake static linking
      • Endianness
      • ssh completion
      • If not running interactively, don't do anything
    • ►  April (1)
  • ►  2007 (1)
    • ►  August (1)
Simple theme. Powered by Blogger.