Files
2026-01-11 00:23:28 +02:00

32 lines
751 B
Bash

# Set environment variables
export PATH=~/.local/bin:~/.bun/bin:$PATH
export GPG_TTY=$(tty)
export EDITOR=nvim
# Completion
autoload -U compinit
compinit
# Correction
setopt correctall
# Set aliases
alias ls="eza -lh"
alias sudo="doas"
# Activate plugins(for Arch)
#source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
#source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Activate plugins(for other distros)
#source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
#source /usr/share/sh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Activate plugins(for Gentoo)
source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
# Change prompt
eval "$(starship init zsh)"
neofetch