Compare commits
No commits in common. "320470fc4ee03b2e9d57ebd18ce6a9a23ca94fb9" and "ebe804da8bc4988106235f37fc268fae05dc64a7" have entirely different histories.
320470fc4e
...
ebe804da8b
3 changed files with 6 additions and 31 deletions
|
@ -28,6 +28,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Reload neovim theme
|
# Reload neovim theme
|
||||||
|
local keys
|
||||||
if [ "$MODE" = "light" ]; then
|
if [ "$MODE" = "light" ]; then
|
||||||
keys=$'<C-\\><C-n>:silent! let g:light_mode=1 | set background=light | doautocmd ColorScheme | redraw!<CR>'
|
keys=$'<C-\\><C-n>:silent! let g:light_mode=1 | set background=light | doautocmd ColorScheme | redraw!<CR>'
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,14 +1,12 @@
|
||||||
# --- Basics
|
# --- Basics
|
||||||
font-family = "IosevkaTermSlab Nerd Font Propo"
|
font-family = "IosevkaTermSlab Nerd Font Propo"
|
||||||
font-style = "Regular"
|
font-style = "Regular"
|
||||||
font-size = 12
|
font-size = 13
|
||||||
background-opacity = 1.0
|
background-opacity = 1.0
|
||||||
window-decoration = none
|
|
||||||
confirm-close-surface = false
|
|
||||||
|
|
||||||
# Auto light/dark theme pair that matches your two palettes below
|
# Auto light/dark theme pair that matches your two palettes below
|
||||||
#theme = dark:my-dark,light:my-light
|
#theme = dark:my-dark,light:my-light
|
||||||
theme = zenwritten-dark
|
theme = zenwritten-light
|
||||||
|
|
||||||
# Font-size keybindings (match Ctrl+Shift+j/k from WezTerm)
|
# Font-size keybindings (match Ctrl+Shift+j/k from WezTerm)
|
||||||
keybind = all:ctrl+shift+k=increase_font_size:1
|
keybind = all:ctrl+shift+k=increase_font_size:1
|
||||||
|
|
30
home/.zshrc
30
home/.zshrc
|
@ -1,6 +1,7 @@
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
# Zsh Configuration
|
# Zsh Configuration
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
|
|
||||||
# History settings
|
# History settings
|
||||||
HISTFILE=~/.histfile
|
HISTFILE=~/.histfile
|
||||||
HISTSIZE=100000
|
HISTSIZE=100000
|
||||||
|
@ -61,33 +62,9 @@ zstyle -e ':completion:*:hosts' hosts 'reply=(
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
|
|
||||||
# nvm
|
# nvm
|
||||||
# Lazy-load nvm - only initialize when first used
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
# Function to load nvm (called only once)
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
load_nvm() {
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Create placeholder functions that load nvm once, then call the real command
|
|
||||||
nvm() {
|
|
||||||
unset -f nvm node npm
|
|
||||||
load_nvm
|
|
||||||
nvm "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
node() {
|
|
||||||
unset -f nvm node npm
|
|
||||||
load_nvm
|
|
||||||
node "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
npm() {
|
|
||||||
unset -f nvm node npm
|
|
||||||
load_nvm
|
|
||||||
npm "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
# ghcup
|
# ghcup
|
||||||
[ -f "/home/aselimov/.ghcup/env" ] && . "/home/aselimov/.ghcup/env" # ghcup-env
|
[ -f "/home/aselimov/.ghcup/env" ] && . "/home/aselimov/.ghcup/env" # ghcup-env
|
||||||
|
@ -135,4 +112,3 @@ if [ "$(uname)" = "Darwin" ]; then
|
||||||
else
|
else
|
||||||
alias ls="ls --classify --group-directories-first --color"
|
alias ls="ls --classify --group-directories-first --color"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue