This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
update detecting interactive run
pull/1/head
10sr
12 years ago
parent
061591827c
commit
3aed54b8c1
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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(){
Write
Preview
Loading…
Cancel
Save