Add some more aliases

This commit is contained in:
Scott Wallace 2023-04-27 14:52:46 +01:00
parent 7f79985cd6
commit 667391bac5
Signed by: scott
GPG key ID: AA742FDC5AFE2A72
3 changed files with 3 additions and 0 deletions

1
.bashrc.d/ll Normal file
View file

@ -0,0 +1 @@
if ! alias ll >/dev/null 2>&1; then function ll() { ls -l "${@}"; } && export -f ll; fi

1
.bashrc.d/psgrep Normal file
View file

@ -0,0 +1 @@
[[ ! -x $(which psgrep 2>/dev/null) ]] && function psgrep() { ps -ef | grep "${@}" | grep -v ${$}; } && export -f psgrep

1
.bashrc.d/tree Normal file
View file

@ -0,0 +1 @@
[[ -x $(which tree 2>/dev/null) ]] && alias tree="tree -AQh --du"