Compare commits

..

No commits in common. "10af352f4140dab542cd383922640a63f5363ce4" and "802edc7d8887fcd0498654823b301e8cfc964643" have entirely different histories.

4 changed files with 23 additions and 34 deletions

View file

@ -1,13 +1,16 @@
# --- Basics
font-family = "IosevkaTermSlab Nerd Font Propo"
font-style = "Regular"
font-size = 13
bold-color = "#fefefe"
background-opacity = 1.0
# Disable programming ligatures (same as your HarfBuzz flags)
# (-liga, -clig, -calt match your calt=0, clig=0, liga=0)
font-feature = -liga,-clig,-calt
# Ghostty has no custom tab bar (uses native macOS tabs), so nothing to disable.
# Auto light/dark theme pair that matches your two palettes below
#theme = dark:my-dark,light:my-light
theme = zenwritten-dark
theme = my-dark
# Font-size keybindings (match Ctrl+Shift+j/k from WezTerm)
keybind = all:ctrl+shift+k=increase_font_size:1

View file

@ -1,5 +1,5 @@
# Colors = your WezTerm dark palette
foreground = #BBBBBB
foreground = #8e8e8e
background = #191919
cursor-color = #BBBBBB
cursor-text = #191919

View file

@ -14,6 +14,7 @@ bindkey -v
zstyle :compinstall filename '/home/aselimov/.zshrc'
export LS_COLORS='di=1;37:ln=35:so=32:pi=33:ex=1;32:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43'
alias ls="ls --classify --group-directories-first --color"
#~/bin/daily_scripture.sh
autoload -Uz compinit
@ -33,7 +34,18 @@ alias clip2png="xclip -selection clipboard -target image/png -out"
function addbin(){
ln -s $PWD/$1 /home/aselimov/bin
}
eval "$(starship init zsh)"
zstyle -e ':completion:*:hosts' hosts 'reply=(
${=${${(f)"$(cat {/etc/ssh_,~/ar.ssh/known_}hosts(|2)(N) 2>/dev/null)"}%%[#| ]*}//,/ }
${=${${${${(@M)${(f)"$(cat ~/.ssh/config 2>/dev/null)"}:#Host *}#Host }:#*\**}:#*\?*}}
)'
source "/home/aselimov/.config/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh"
source "/home/aselimov/.config/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
source "/home/aselimov/.config/zsh/zsh-history-substring-search/zsh-history-substring-search.zsh"
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
export XKB_DEFAULT_OPTIONS="caps:escape"
export PASSWORD_STORE_CHARACTER_SET='a-zA-Z0-9+\-$!*_='
@ -49,33 +61,7 @@ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-12.8/lib64"
[ -f "/home/aselimov/.ghcup/env" ] && . "/home/aselimov/.ghcup/env" # ghcup-env
if [ $(which pyenv 2>&1 1>/dev/null) ]; then
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init - zsh)"
fi
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init - zsh)"
eval "$(starship init zsh)"
zstyle -e ':completion:*:hosts' hosts 'reply=(
${=${${(f)"$(cat {/etc/ssh_,~/ar.ssh/known_}hosts(|2)(N) 2>/dev/null)"}%%[#| ]*}//,/ }
${=${${${${(@M)${(f)"$(cat ~/.ssh/config 2>/dev/null)"}:#Host *}#Host }:#*\**}:#*\?*}}
)'
source "$HOME/.config/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh"
source "$HOME/.config/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
source "$HOME/.config/zsh/zsh-history-substring-search/zsh-history-substring-search.zsh"
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
# Settings that need to swap between Mac and Linux
if [ "$(uname)" = "Darwin" ]; then
export PATH="$PATH:/opt/homebrew/bin"
alias ls="gls --classify --group-directories-first --color"
# 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