More changes.

This commit is contained in:
2014-08-19 13:49:19 +02:00
parent 46c9c6de47
commit 00c8fe6f61
10 changed files with 114 additions and 114 deletions

View File

@@ -142,9 +142,9 @@ cd() {
mount() {
if [[ $# == 0 ]] ; then
/usr/bin/env mount | column -t
command mount | column -t
else
/usr/bin/env mount $*
command mount "$@"
fi
}
@@ -208,17 +208,12 @@ fnottype() {
find . -maxdepth 1 ! -type $1
}
# simple calculator
c () {
echo "$*" | bc -l
}
http() {
curl http://httpcode.info/$1
}
bak() {
[[ -e "$1" ]] && cp -ai "$1" "$1.$(date +%FT%T).bak"
[[ -e "$1" ]] && cp -av "$1" "$1.bak"
}
fstab() {
@@ -229,3 +224,7 @@ fstab() {
rmext() {
[[ -e "$1" ]] && mv -i "$1" "${1%.*}"
}
serve() {
python3 -m http.server 8800
}