Compare commits

..

2 Commits

9
zshrc
View File

@ -3806,6 +3806,15 @@ if command -v direnv &> /dev/null ; then
eval "$(direnv hook zsh)" eval "$(direnv hook zsh)"
fi 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 # add local binaries
if [[ -r ~/bin ]]; then if [[ -r ~/bin ]]; then
PATH=$PATH:~/bin PATH=$PATH:~/bin