You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Louis Maddox edited this page Jun 16, 2016
·
1 revision
grepbashrc alternative greptobashrc:
This will probably be a wrapper on another function [i.e. requires separation for efficient conditional logic]
same start as grepbashrc (if multiple files then ask for choice) but if it's a function name [obviously function definition must be unique in bashrc modules], i.e. run grepbashrc "^function "$@" [start of line grep]
though NB may use partial match... so still check for unique result
if a function name by the above method, open vim at the line it starts at or the comments above it (which function as docstrings)
if no function name, then you're looking for internal code of a function, so go to the first instance of it in the file