Compare commits

...

3 Commits

2 changed files with 13 additions and 4 deletions

8
.zshrc
View File

@ -1,6 +1,5 @@
if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
fi
source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
source /nix/var/nix/profiles/default/etc/profile.d/nix.sh
export BAT_THEME="Solarized (light)"
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
@ -95,3 +94,6 @@ alias z="$(which zoxide)"
[ -f "$HOME/.zshrc.local" ] && source "$HOME/.zshrc.local"
[ -f "$HOME/.zshrc.auto" ] && source "$HOME/.zshrc.auto"
FPATH="$HOME/.nix-profile/share/zsh/site-functions:${FPATH}"
autoload -Uz compinit && compinit

View File

@ -138,6 +138,14 @@ config.color_scheme = 'One Light (base16)'
config.window_background_opacity = 0.9
config.initial_rows = 30
config.initial_cols = 120
config.use_fancy_tab_bar = false
config.mouse_bindings = {
{
event = { Up = { streak = 1, button = 'Left' } },
mods = 'CTRL',
action = wezterm.action.OpenLinkAtMouseCursor,
},
}
return config
EOF
@ -236,7 +244,6 @@ AUTO_FILE="$HOME/.zshrc.auto"
echo > "$AUTO_FILE"
atuin init zsh >> "$AUTO_FILE"
direnv hook zsh >> "$AUTO_FILE"
#just --completions zsh >> "$AUTO_FILE"
starship init zsh --print-full-init >> "$AUTO_FILE"
zoxide init zsh >> "$AUTO_FILE"