From 95909bdaef2a2f7ad780feeea141985fd93e0b56 Mon Sep 17 00:00:00 2001 From: Overxwise Date: Sun, 10 Jul 2022 10:06:59 +0300 Subject: [PATCH] Add .zshrc --- .zshrc | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100755 .zshrc diff --git a/.zshrc b/.zshrc new file mode 100755 index 0000000..b0f496e --- /dev/null +++ b/.zshrc @@ -0,0 +1,65 @@ +# ============================================ +# | | +# | ███████╗███████╗██╗ ██╗██████╗ ██████╗ | +# | ╚══███╔╝██╔════╝██║ ██║██╔══██╗██╔════╝ | +# | ███╔╝ ███████╗███████║██████╔╝██║ | +# | ███╔╝ ╚════██║██╔══██║██╔══██╗██║ | +# | ███████╗███████║██║ ██║██║ ██║╚██████╗ | +# | ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ | +# ============================================ + +autoload -U compinit && compinit + +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 + +ZSH_COMPDUMP='/dev/null' +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 + +source $HOME/.scripts/zsh/hotkeys +source $HOME/.scripts/zsh/exports + +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 wmcfg='micro $HOME/.config/wpg/templates/config_bspwm*' +alias picomcfg='micro $HOME/.config/picom/picom.conf' +# alias barcfg='micro $HOME/.config/polybar/*' +# alias rcfg='micro $HOME/.config/rofi/config.rasi' +# alias dunstcfg='micro $HOME/.config/wpg/templates/config_dunst*' +alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' + +alias hotkeys='micro $HOME/.config/sxhkd/sxhkdrc' +alias ac='micro $HOME/.config/alacritty/alacritty.yml' +alias autostart='micro $HOME/.scripts/autostart/* $HOME/.scripts/polybar/polybar.sh' + +alias fonts='fontpreview-ueberzug' +alias vitetris='tetris' + +alias ls='exa -laFh --icons --group-directories-first' +alias clear='clear && fastfetch' +alias xx='chmod +x' +# alias ping='gping' +# alias top='btop' + +fastfetch +eval "$(starship init zsh)" +