diff --git a/.bashrc.d/ll b/.bashrc.d/ll new file mode 100644 index 0000000..343a7fe --- /dev/null +++ b/.bashrc.d/ll @@ -0,0 +1 @@ +if ! alias ll >/dev/null 2>&1; then function ll() { ls -l "${@}"; } && export -f ll; fi diff --git a/.bashrc.d/psgrep b/.bashrc.d/psgrep new file mode 100644 index 0000000..1a3818c --- /dev/null +++ b/.bashrc.d/psgrep @@ -0,0 +1 @@ +[[ ! -x $(which psgrep 2>/dev/null) ]] && function psgrep() { ps -ef | grep "${@}" | grep -v ${$}; } && export -f psgrep diff --git a/.bashrc.d/tree b/.bashrc.d/tree new file mode 100644 index 0000000..1d6abf1 --- /dev/null +++ b/.bashrc.d/tree @@ -0,0 +1 @@ +[[ -x $(which tree 2>/dev/null) ]] && alias tree="tree -AQh --du"