bashrc.cust: Add 'findstring' function
This commit is contained in:
@@ -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/.$//"
|
||||
}
|
||||
Reference in New Issue
Block a user