.bashrc
This commit is contained in:
parent
04da38c6a2
commit
88b5ef02f5
@ -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"
|
||||
|
||||
|
@ -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)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user