Created
April 16, 2021 16:53
-
-
Save Albonycal/1dd94e1c30a89d7597b2ee93b57c376a to your computer and use it in GitHub Desktop.
Albonycal zshrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by albonycal | |
# *** zshrc *** | |
#ENV | |
export XDG_CONFIG_HOME="$HOME/.config" | |
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc | |
export MANPAGER="nvim -c 'set ft=man' -" | |
export PATH=$PATH:~/go/bin | |
eval "$(ssh-agent -s)" >/dev/null | |
#starship prompt | |
source <("/usr/bin/starship" init zsh --print-full-init) | |
#plugins | |
source $HOME/.config/zsh/completion.zsh | |
source $HOME/.config/zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh | |
source /home/albony/.config/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh | |
source $HOME/.config/zsh/key-bindings.zsh | |
source $HOME/.config/zsh/history.zsh | |
#plugin conf | |
# Initialize the completion system | |
autoload -Uz compinit | |
# Cache completion if nothing changed - faster startup time | |
typeset -i updated_at=$(date +'%j' -r ~/.config/zsh/.zcompdump 2>/dev/null || stat -f '%Sm' -t '%j' ~/.config/zsh/.zcompdump 2>/dev/null) | |
if [ $(date +'%j') != $updated_at ]; then | |
compinit -i | |
else | |
compinit -C -i | |
fihttps://albonycal.github.io/startpage/index.html | |
# Enhanced form of menu completion called `menu selection' | |
zmodload -i zsh/complist | |
#alias'es | |
alias cls='clear' | |
alias ls='exa --color auto' | |
alias l='exa --color auto' | |
alias ll='exa -la --color auto ' | |
alias la='exa -la --color auto' | |
alias vim='nvim' | |
alias mirror='rate-arch-mirrors | sudo tee /etc/pacman.d/mirrorlist' | |
alias tmux='tmux -u' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment