From 44bc64afb9e649339da8aebe3ae4aedf33d179e6 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 24 Feb 2023 23:39:30 -0500 Subject: [PATCH] oxidise pt 1 --- .bashrc | 4 ---- .zshrc | 7 +++---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.bashrc b/.bashrc index ce5fbae..4f900c5 100644 --- a/.bashrc +++ b/.bashrc @@ -116,10 +116,6 @@ if ! shopt -oq posix; then fi fi -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion - #add time to prompt export PROMPT_COMMAND="echo -n \[\$(date +%H:%M:%S)\]\ " diff --git a/.zshrc b/.zshrc index 4f37db5..0a0265f 100644 --- a/.zshrc +++ b/.zshrc @@ -24,10 +24,6 @@ alias ohmyzsh="nvim ~/.oh-my-zsh" export XDG_CONFIG_HOME="$HOME/.config" -export NVM_DIR="$HOME/.nvm" - [ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm - [ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion - #setup dotfile aliases alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' @@ -83,6 +79,7 @@ export PATH="/opt/homebrew/opt/cython/bin:$PATH" export PATH="/opt/homebrew/opt/llvm/bin:$PATH" export PATH="$HOME/.emacs.d/bin:$PATH" export PATH="$HOME/.scripts/utils:$PATH" +export PATH="$HOME/.local/share/bob/nvim-bin:$PATH" export HIGHLIGHT_STYLE=manxome @@ -90,6 +87,8 @@ source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh export STARSHIP_CONFIG=~/.config/starship/starship.toml +export RUSTC_WRAPPER=~/.cargo/bin/sccache + _bb_tasks() { local matches=(`bb tasks |tail -n +3 |cut -f1 -d ' '`) compadd -a matches