-
Notifications
You must be signed in to change notification settings - Fork 7
Idea: bashrc additions
Louis Maddox edited this page Jun 16, 2016
·
1 revision
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. rungrepbashrc "^function "$@"
[start of linegrep
]- 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