commit 8e6cf573d25b1c10a533276055d15f1035070b33
parent f178ee7ee48301b5b2d078cdd62182caa27b29a6
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 24 Sep 2018 16:52:27 +0200
Bash alias to find where a function is defined
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/shell/commonprofile b/shell/commonprofile
@@ -18,6 +18,7 @@ alias rrsync='rsync -avhW --progress --remove-source-files' # Rsync, but rem
alias top='sudo htop' # Top should launch htop with sudo
alias g='git' # Make git easier to type
alias r='ranger' # Make Ranger easier to type
+alias wheredef='type -a'
### SIMPLE FUNCTIONS ###
mark() { mdvl "$1" | less; }