- added useful shell features
- cosmetics: whitespace
This commit is contained in:
parent
4cab17e726
commit
8358af1077
@ -2,6 +2,9 @@
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||
# for examples
|
||||
|
||||
set -o pipefail
|
||||
# set -u
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
if [[ $- != *i* ]]; then
|
||||
return
|
||||
@ -188,7 +191,7 @@ ex ()
|
||||
*.tar.bz2) tar xjf $1 ;;
|
||||
*.tar.gz) tar xzf $1 ;;
|
||||
*.bz2) bunzip2 $1 ;;
|
||||
*.rar) unrar x $1 ;;
|
||||
*.rar) unrar x $1 ;;
|
||||
*.gz) gunzip $1 ;;
|
||||
*.tar) tar xf $1 ;;
|
||||
*.tbz2) tar xjf $1 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user