}
-grp() {
- command grep --binary-files=without-match --color=auto "$@"
-}
gr() {
- grep -i -r "$@"
+ grep -i --binary-files=without-match --color=auto "$@"
}
-
+gr() {
+ gr -r "$@"
+}
find "${pathArray[@]}" -iname "*$1*"
}
-pstree() {
- ps -ejH "$@"
-}
-
-
pwd() { # do pwd + some other info.
echo "$(ll -d "$PWD") $USER@$HOSTNAME $(date +%r)"
perm_fix ${HISTFILE}_archive
history -c
history -r
- history
}
# run hl when bash exits normally
trap hl EXIT