Merge branch 'master' of www.alexselimov.com:aselimov/SelimovDE

This commit is contained in:
Alex Selimov 2025-10-06 20:02:59 -04:00
commit 0bca13c5c5
Signed by: aselimov
GPG key ID: 3DDB9C3E023F1F31
4 changed files with 52 additions and 19 deletions

View file

@ -8,7 +8,7 @@ SAVEHIST=100000
setopt extendedglob notify
unsetopt autocd beep
setopt INC_APPEND_HISTORY # Write to history file immediately, not when shell exits
setopt SHARE_HISTORY # Share history between all sessions
setopt APPEND_HISTORY # Append instead of overwriting the file
setopt HIST_IGNORE_DUPS # Don't save duplicate commands
setopt HIST_IGNORE_SPACE # Don't save commands starting with space
@ -26,22 +26,8 @@ export XKB_DEFAULT_OPTIONS="caps:escape"
export PASSWORD_STORE_CHARACTER_SET='a-zA-Z0-9+\-$!*_='
export XDEB_PKGROOT=${HOME}/.config/xdeb
#==============================================================================
# OS-Specific Configuration
#==============================================================================
if [ "$(uname)" = "Darwin" ]; then
export PATH="$PATH:/opt/homebrew/bin"
alias ls="gls --classify --group-directories-first --color"
alias gemini="(source ~/.gemini_project && gemini)"
export NVIM_JDTLS_JAVA_HOME="/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/"
# I only start tmux by default on Mac because of dwm+swallow patch
if [[ -z "$TMUX" ]] && [[ -n "$PS1" ]]; then
tmux attach -t dev || tmux new -s dev
fi
else
alias ls="ls --classify --group-directories-first --color"
fi
# Custom path additions
source ~/.profile
#==============================================================================
# Aliases
@ -49,6 +35,8 @@ fi
alias clip2png="xclip -selection clipboard -target image/png -out"
#==============================================================================
# Functions
#==============================================================================
@ -156,9 +144,12 @@ bindkey '^[[B' history-substring-search-down
#==============================================================================
if [ "$(uname)" = "Darwin" ]; then
export PATH="$PATH:/opt/homebrew/bin"
export PATH="/opt/homebrew/bin:$PATH"
alias ls="gls --classify --group-directories-first --color"
alias gemini="(source ~/.gemini_project && gemini)"
GEMINI_BIN=$(which gemini)
function gemini(){
source ~/.gemini_project && $GEMINI_BIN "$@"
}
export NVIM_JDTLS_JAVA_HOME="/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/"
# I only start tmux by default on Mac because of dwm+swallow patch
else