Browse Source

update detecting interactive run

pull/1/head
10sr 12 years ago
parent
commit
3aed54b8c1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bashrc

+ 1
- 1
bashrc View File

@@ -1,7 +1,7 @@
#!/bin/bash

# If not running interactively, don't do anything
[ -z "$PS1" ] && return
[[ $- != *i* ]] && return

##########################################
null(){


Loading…
Cancel
Save