feat: ripgrep shortcuts

This commit is contained in:
2023-11-20 06:36:42 -05:00
parent 94bfff1bad
commit c7c47649eb
2 changed files with 12 additions and 0 deletions

View File

@@ -4,3 +4,10 @@ asdf-up() {
echo Updating plugin: $plugin version: $cur_version
asdf uninstall ${plugin} ${cur_version} && asdf install ${plugin} ${cur_version}
}
# Stuff for building erlang on Apple ARM
if [ -d "/opt/homebrew/opt/openssl@1.1/lib" ]; then
export LDFLAGS="-L/opt/homebrew/opt/openssl@1.1/lib"
export CPPFLAGS="-I/opt/homebrew/opt/openssl@1.1/include"
export KERL_CONFIGURE_OPTIONS="--disable-debug --disable-silent-rules --without-javac --enable-shared-zlib --enable-dynamic-ssl-lib --enable-threads --enable-kernel-poll --enable-wx --enable-webview --enable-darwin-64bit --enable-gettimeofday-as-os-system-time --with-ssl=$(brew --prefix openssl@1.1)" KERL_BUILD_DOCS="yes"
fi

5
.config/zsh/grep.zsh Normal file
View File

@@ -0,0 +1,5 @@
alias r="rg"
alias ri="rg --ignore-case"
alias ra="rg --hidden --no-ignore"
alias ria="rg --hidden --no-ignore --ignore-case"
alias rai="rg --hidden --no-ignore --ignore-case"