From 88b5ef02f5da285cc9c6cc69e04e8d94fb008e72 Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Sun, 17 Aug 2025 14:35:56 -0400 Subject: [PATCH] .bashrc --- config/.bash_profile | 8 ++++++++ config/.bashrc | 10 ++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/config/.bash_profile b/config/.bash_profile index d7e5a01..568b475 100644 --- a/config/.bash_profile +++ b/config/.bash_profile @@ -18,3 +18,11 @@ test -r '/home/mikec/.opam/opam-init/init.sh' && . '/home/mikec/.opam/opam-init/ if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then exec river fi +HOMEBREW_PREFIX=/opt/homebrew +export PATH="/opt/homebrew/opt/llvm/bin:$PATH" +export CPATH="$HOMEBREW_PREFIX/include:$CPATH" +export LIBRARY_PATH="$HOMEBREW_PREFIX/lib:$LIBRARY_PATH" +. "/Users/mikec/.local/share/bob/env/env.sh" + +test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash" + diff --git a/config/.bashrc b/config/.bashrc index c5e25e8..addd707 100644 --- a/config/.bashrc +++ b/config/.bashrc @@ -19,6 +19,11 @@ PATH=$PATH:~/.config/emacs/bin/ PATH=$PATH:~/.mint/bin/ PATH=$PATH:~/glamoroustoolkit/bin/ PATH=$PATH:~/Documents/Projects/Cuis-Smalltalk-Dev/ +PATH=$PATH:~/opt/homebrew/bin/ + +export CFLAGS="$CFLAGS -I/opt/homebrew/include" + +LDPATH=$LDPATH:/opt/homebrew/lib/ # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth @@ -123,7 +128,7 @@ alias _='sudo' alias _i='sudo -i' alias please='sudo' alias fucking='sudo' -alias hx='helix' +# alias hx='helix' alias bat='bat --theme="base16-256"' if [ -n "$(command -v 'eza')" ]; then alias ls='eza' @@ -193,7 +198,8 @@ elif [ -n "$(command -v tmux)" ] && [ -n "$(command -v kak)" ]; then fi if [ -n "$(command -v tmux)" ] && [ -n "$(command -v helix || command -v hx)" ] && [ -z "$TMUX" ]; then - alias helix='tmux new-session -e "EDITOR=helix" helix > /dev/null' + alias helix='tmux new-session -e "EDITOR=hx" hx > /dev/null' + alias hx='tmux new-session -e "EDITOR=hx" hx > /dev/null' fi # if [ -n "$(command -v tmux)" ] && [ -z "$TMUX" ]; then # SESH="$( (tmux list-sessions 2>/dev/null || echo '-1') | cut -d' ' -f1 | tr -d ':-' | sort -r | head -n1 | xargs -I{} echo '{} + 1' | bc)"