HISTCONTROL=ignoredups
# works in addition to HISTCONTROL to do more flexible things
# it could also do the same things as HISTCONTROL and thus replace it,
-# but meh
-HISTIGNORE='k *; *'
+# but meh. dunno why, but just " *" does glob expansion, so use [ ] to avoid it.
+HISTIGNORE='k *:[ ]*'
export BC_LINE_LENGTH=0
done < <(find "$@" -print0);
}
+faf() { # find all files
+ find $@ -type f
+}
+
+fastboot() { /home/ian/Android/Sdk/platform-tools/fastboot "$@"; }
ff() {
if type -P firefox &>/dev/null; then
echo
}
+hrcat() { local f; for f; do [[ -f $f ]] || continue; hr; echo "$f"; cat "$f"; done }
+
i() { git "$@"; }
# modified from ~/local/bin/git-completion.bash
}
rlu() { # [OPTS] HOST PATH
- # eg rlu -opts frodo testpath
+ # eg rlu -opts frodo /testpath
# useful for selectively sending dirs which have been synced with unison,
# where the path is the same on both hosts.
opts=("${@:1:$#-2}") # 1 to last -2