Have OS X ps have a forest-style output.
This commit is contained in:
parent
a409b6c2f3
commit
133fc23466
1
.bashrc
1
.bashrc
|
@ -128,6 +128,7 @@ if ! alias ll >/dev/null 2>&1; then function ll() { ls -l ${@}; } && export -f l
|
||||||
[[ -x $(which htop 2>/dev/null) ]] && function top() { sudo htop; } && export -f top
|
[[ -x $(which htop 2>/dev/null) ]] && function top() { sudo htop; } && export -f top
|
||||||
[[ -x $(which gdu 2>/dev/null) ]] && function du() { gdu ${@}; } && export -f du
|
[[ -x $(which gdu 2>/dev/null) ]] && function du() { gdu ${@}; } && export -f du
|
||||||
[[ -x $(which gsort 2>/dev/null) ]] && function sort() { gsort ${@}; } && export -f sort
|
[[ -x $(which gsort 2>/dev/null) ]] && function sort() { gsort ${@}; } && export -f sort
|
||||||
|
[[ -x /bin/ps && -x $(which pstree 2>/dev/null) ]] && function ps() { if [[ ${1} =~ 'f' ]]; then pstree; else /bin/ps ${@}; fi }
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue