2022-07-10 10:06:59 +03:00
|
|
|
# ============================================
|
|
|
|
# | |
|
|
|
|
# | ███████╗███████╗██╗ ██╗██████╗ ██████╗ |
|
|
|
|
# | ╚══███╔╝██╔════╝██║ ██║██╔══██╗██╔════╝ |
|
|
|
|
# | ███╔╝ ███████╗███████║██████╔╝██║ |
|
|
|
|
# | ███╔╝ ╚════██║██╔══██║██╔══██╗██║ |
|
|
|
|
# | ███████╗███████║██║ ██║██║ ██║╚██████╗ |
|
|
|
|
# | ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ |
|
|
|
|
# ============================================
|
|
|
|
|
|
|
|
autoload -U compinit && compinit
|
2023-12-28 21:59:02 +03:00
|
|
|
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-"$ZSH_VERSION"
|
2022-07-10 10:06:59 +03:00
|
|
|
|
|
|
|
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
|
2023-12-28 21:59:02 +03:00
|
|
|
# setopt NO_MONITOR
|
2022-07-10 10:06:59 +03:00
|
|
|
|
|
|
|
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
|
2023-06-11 22:13:13 +03:00
|
|
|
zstyle ':completion:*' rehash true
|
2022-07-10 10:06:59 +03:00
|
|
|
|
|
|
|
source $HOME/.scripts/zsh/hotkeys
|
2023-12-28 21:59:02 +03:00
|
|
|
export PATH=$PATH:$HOME/.scripts:$HOME/.cargo/bin:$HOME/.local/bin
|
|
|
|
export GOPATH=$HOME/.local/go
|
2022-07-10 10:06:59 +03:00
|
|
|
|
|
|
|
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"
|
2023-06-11 22:13:13 +03:00
|
|
|
|
2022-07-10 10:06:59 +03:00
|
|
|
export EDITOR=micro
|
|
|
|
|
|
|
|
alias zshcfg='micro $HOME/.zshrc'
|
2023-12-28 21:59:02 +03:00
|
|
|
alias ac='micro $HOME/.config/alacritty/alacritty.toml'
|
2022-07-10 10:06:59 +03:00
|
|
|
|
2023-12-28 21:59:02 +03:00
|
|
|
alias vitetris='tetris'
|
|
|
|
|
|
|
|
alias ls='eza -laFh --icons --group-directories-first'
|
|
|
|
alias clear='clear && fastfetch'
|
2022-07-10 10:06:59 +03:00
|
|
|
alias xx='chmod +x'
|
2023-12-28 21:59:02 +03:00
|
|
|
alias pip='pipx'
|
2022-07-10 10:06:59 +03:00
|
|
|
# alias ping='gping'
|
|
|
|
# alias top='btop'
|
2023-06-11 22:13:13 +03:00
|
|
|
# alias cat='gat'
|
2023-12-28 21:59:02 +03:00
|
|
|
alias uffstyle='bash -c "$(curl -fsSL https://raw.githubusercontent.com/black7375/Firefox-UI-Fix/master/install.sh)"'
|
2022-07-10 10:06:59 +03:00
|
|
|
|
2023-12-28 21:59:02 +03:00
|
|
|
konsoleprofile colors=Custom
|
2023-06-11 22:13:13 +03:00
|
|
|
termcolors
|
2023-12-28 21:59:02 +03:00
|
|
|
fastfetch
|
2022-07-10 10:06:59 +03:00
|
|
|
eval "$(starship init zsh)"
|