Compare commits
2 Commits
a512147b33
...
91a399ed11
Author | SHA1 | Date | |
---|---|---|---|
91a399ed11 | |||
9289bff8cf |
9
zshrc
9
zshrc
@ -3806,6 +3806,15 @@ if command -v direnv &> /dev/null ; then
|
||||
eval "$(direnv hook zsh)"
|
||||
fi
|
||||
|
||||
# Command to search C function definitions, with Linux kernel coding style.
|
||||
# Example:
|
||||
# $ fdcfun wait_for_completion
|
||||
if command -v rg &> /dev/null; then
|
||||
fdcfun() {
|
||||
rg -U "$1(.*)\n\{"
|
||||
}
|
||||
fi
|
||||
|
||||
# add local binaries
|
||||
if [[ -r ~/bin ]]; then
|
||||
PATH=$PATH:~/bin
|
||||
|
Loading…
Reference in New Issue
Block a user