This commit is contained in:
Christian Nieves
2022-10-12 22:09:57 +00:00
parent 27ea228fe1
commit 450dd13e5b
9 changed files with 32 additions and 20 deletions

View File

@ -89,7 +89,12 @@ get_current_activity() {
}
cl_search() {
hg status -n --change . --template= | xargs -i sh -c "echo {} && grep '$1' {}"
# hg status -n --change . --template= | xargs -i sh -c "echo {} && grep '$1' {}"
rg --ignore-case $1 $(hg pstatus -ma -n --template= -- 2>/dev/null)
}
todos() {
cl_search "TODO"
}
cl_replace() {