Files
dotfiles/.zshrc
T
2025-10-12 22:50:29 -04:00

34 lines
833 B
Bash

if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
dbus-run-session sway
fi
HISTFILE=~/.zsh_history
HISTSIZE=100
SAVEHIST=200
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
bindkey "^[[3~" delete-char
bindkey "^[[5~" up-line
bindkey "^[[6~" down-line
source "$HOME/.local/share/zinit/zinit.git/zinit.zsh"
zinit light zsh-users/zsh-autosuggestions
zinit light zdharma-continuum/fast-syntax-highlighting
eval "$(starship init zsh)"
eval "$(zoxide init --cmd cd zsh)"
autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit
export PATH="$HOME/.local/bin:$PATH"
myfetch.sh
alias ls="ls -a --color"
alias grep="rg"
alias comp="make && doas make install && make clean"
alias update_world='doas emerge --ask --update --newuse --deep @world'
alias env="sh /home/andrew/personal/dotfiles/env.sh"