This commit is contained in:
Michael Chalupiak 2025-08-17 14:35:56 -04:00
parent 04da38c6a2
commit 88b5ef02f5
2 changed files with 16 additions and 2 deletions

View File

@ -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 if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
exec river exec river
fi 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"

View File

@ -19,6 +19,11 @@ PATH=$PATH:~/.config/emacs/bin/
PATH=$PATH:~/.mint/bin/ PATH=$PATH:~/.mint/bin/
PATH=$PATH:~/glamoroustoolkit/bin/ PATH=$PATH:~/glamoroustoolkit/bin/
PATH=$PATH:~/Documents/Projects/Cuis-Smalltalk-Dev/ 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. # don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options # See bash(1) for more options
HISTCONTROL=ignoreboth HISTCONTROL=ignoreboth
@ -123,7 +128,7 @@ alias _='sudo'
alias _i='sudo -i' alias _i='sudo -i'
alias please='sudo' alias please='sudo'
alias fucking='sudo' alias fucking='sudo'
alias hx='helix' # alias hx='helix'
alias bat='bat --theme="base16-256"' alias bat='bat --theme="base16-256"'
if [ -n "$(command -v 'eza')" ]; then if [ -n "$(command -v 'eza')" ]; then
alias ls='eza' alias ls='eza'
@ -193,7 +198,8 @@ elif [ -n "$(command -v tmux)" ] && [ -n "$(command -v kak)" ]; then
fi fi
if [ -n "$(command -v tmux)" ] && [ -n "$(command -v helix || command -v hx)" ] && [ -z "$TMUX" ]; then 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 fi
# if [ -n "$(command -v tmux)" ] && [ -z "$TMUX" ]; then # 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)" # SESH="$( (tmux list-sessions 2>/dev/null || echo '-1') | cut -d' ' -f1 | tr -d ':-' | sort -r | head -n1 | xargs -I{} echo '{} + 1' | bc)"