bashrc.cust: Add 'findstring' function
This commit is contained in:
1 parent
03d5fe5b1c
commit
fe9163b2fd
1 file changed
+4
@@ -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