use tag for ag if available, update nvim config to be a little smarter with the coc plugin, and update alacritty size

This commit is contained in:
Tony Blyler 2021-05-17 13:58:09 -04:00
parent fe55e8d595
commit 2ee9018e7a
5 changed files with 34 additions and 24 deletions
home

View file

@ -7,6 +7,10 @@ if [ -d "${HOME}/bin" ]; then
export PATH="${HOME}/bin:${PATH}"
fi
if [ -d "${HOME}/.local/bin" ]; then
export PATH="${HOME}/.local/bin:$PATH"
fi
if command -v go &> /dev/null; then
GOPATH="$(go env GOPATH)"
if [ -d "${GOPATH}" ]; then
@ -15,6 +19,12 @@ if command -v go &> /dev/null; then
fi
fi
if (( $+commands[tag] )); then
export TAG_SEARCH_PROG=ag # replace with rg for ripgrep
tag() { command tag "$@"; source ${TAG_ALIAS_FILE:-/tmp/tag_aliases} 2>/dev/null }
alias ag=tag # replace with rg for ripgrep
fi
# oh-my-zsh {
export ZSH="${HOME}/.oh-my-zsh"