bashrc.cust: Add 'findstring' function

This commit is contained in:
2021-08-11 15:13:49 +02:00
parent 03d5fe5b1c
commit fe9163b2fd

View File

@@ -36,6 +36,10 @@ function cust-error {
exit 1
}
function findstring {
find . -type f -exec grep --color=auto -i "$@" "{}" +
}
function getalias {
alias "$1" |cut -d "=" -f 2- |sed "s/.//; s/.$//"
}