dotfiles/.zshrc
2024-03-12 13:14:37 +03:00

63 lines
2.3 KiB
Bash
Executable file

# ============================================
# | |
# | ███████╗███████╗██╗ ██╗██████╗ ██████╗ |
# | ╚══███╔╝██╔════╝██║ ██║██╔══██╗██╔════╝ |
# | ███╔╝ ███████╗███████║██████╔╝██║ |
# | ███╔╝ ╚════██║██╔══██║██╔══██╗██║ |
# | ███████╗███████║██║ ██║██║ ██║╚██████╗ |
# | ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ |
# ============================================
autoload -U compinit && compinit
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
autoload -U select-word-style
select-word-style bash
# autoload -Uz vcs_info
# setopt CORRECT
# setopt CORRECT_ALL
setopt SHARE_HISTORY
setopt APPEND_HISTORY
setopt HIST_FIND_NO_DUPS
setopt HIST_IGNORE_DUPS
# setopt NO_MONITOR
HISTFILE=$HOME/.zsh_history
HISTSIZE=1000
SAVEHIST=1000
zstyle ':fzf-tab:*' fzf-flags --color=fg:8,bg:-1,hl:6,fg+:15,bg+:0,hl+:13
zstyle ':completion:*' rehash true
source $HOME/.config/zsh/hotkeys
export PATH=$PATH:$HOME/.scripts:$HOME/.cargo/bin:$HOME/.local/bin
export GOPATH=$HOME/.local/go
source /usr/share/zsh/plugins/fzf-tab-git/fzf-tab.plugin.zsh
source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=13"
export EDITOR=micro
alias zshcfg='micro $HOME/.zshrc'
alias ac='micro $HOME/.config/alacritty/alacritty.toml'
alias vitetris='tetris'
alias ls='eza -lah --icons --group-directories-first'
alias clear='clear && fastfetch'
alias xx='chmod +x'
alias pip='pipx'
# alias ping='gping'
# alias top='btop'
# alias cat='gat'
alias uffstyle='bash -c "$(curl -fsSL https://raw.githubusercontent.com/black7375/Firefox-UI-Fix/master/install.sh)"'
konsoleprofile colors=Custom
wallust run $(cat ~/.config/plasma-org.kde.plasma.desktop-appletsrc | rg Image | sed 's/\Image=//g') -qs
fastfetch
eval "$(starship init zsh)"