Clearup config

This commit is contained in:
CramMK
2020-02-22 01:25:38 +01:00
parent dae415f8af
commit 875a1004d2
858 changed files with 61303 additions and 205 deletions

46
dotfiles/zsh/zshrc Normal file
View File

@@ -0,0 +1,46 @@
export ZSH="/home/$USER/.oh-my-zsh"
ZSH_THEME="the-one"
DISABLE_AUTO_UPDATE="true"
COMPLETION_WAITING_DOTS="true"
DISABLE_UNTRACKED_FILES_DIRTY="true"
plugins=(
git
common-aliases
compleat
history
ssh-agent
)
{%@@ if profile == "work" @@%}
zstyle :omz:plugins:ssh-agent identities gerrit gg gitlab
{%@@ endif @@%}
source $ZSH/oh-my-zsh.sh
export TERM="xterm-256color"
export EDITOR="vim"
export LANG="en_US.UTF-8"
# Some aliases
alias zshrc="vim ~/.zshrc"
alias szsh="source ~/.zshrc"
alias dotf="cd ~/dotfiles/dotfiles"
alias vimrc="vim ~/.vimrc"
alias dotdrop="~/dotfiles/dotdrop.sh" --cfg="~/dotfiles/config.yaml"
alias screenshot="import ~/Downloads/Screenshot-$(date '+%Y%m%d-%H%M%S').png"
alias fonts="/home/$USER/.local/share/fonts"
alias listfonts="fc-list :scalable=true:spacing=mono: family"
alias cachefonts="fc-cache -f -v"
# Allow pc local aliases
if [ -f ~/.zshaliases_local ]; then
source ~/.zshaliases_local
fi