dotfiles/dot_zshrc

69 lines
1.9 KiB
Plaintext
Raw Normal View History

2022-02-10 17:08:11 +01:00
#!/usr/bin/env zsh
##############################################################################
# vim:set ft=zsh ai et sw=4 ts=4:
#
# @author : Jeffrey Serio <hyperreal@unixcat.coffee>
# @file : .zshrc
#
# @description : Z-shell rc file
##############################################################################
# PLUGINS
##############################################################################
if ! test -f ~/.zplug/init.zsh; then
export ZPLUG_HOME=~/.zplug
git clone https://github.com/zplug/zplug $ZPLUG_HOME
fi
source ~/.zplug/init.zsh
zplug "~/.zsh", from:local, use:'(*).zsh'
zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-history-substring-search"
zplug "zsh-users/zsh-syntax-highlighting"
zplug "amaya382/zsh-fzf-widgets"
zplug "chitoku-k/fzf-zsh-completions"
zplug "plugins/dnf", from:oh-my-zsh
zplug "plugins/colored-man-pages", from:oh-my-zsh
zplug "plugins/extract", from:oh-my-zsh
zplug "plugins/firewalld", from:oh-my-zsh
zplug "plugins/git", from:oh-my-zsh
zplug "plugins/sudo", from:oh-my-zsh
zplug "plugins/systemd", from:oh-my-zsh
zplug "urbainvaes/fzf-marks"
zplug "spaceship-prompt/spaceship-prompt", use:spaceship.zsh, from:github, as:theme
# zplug "~/.zsh", use:dracula-pro.zsh-theme, from:local, as:theme
if ! zplug check; then
zplug install;
exec $SHELL $SHELL_ARGS "$@"
fi
zplug load
##############################################################################
# GENERAL SHELL OPTIONS
##############################################################################
# See https://zsh-manual.netlify.app/options
setopt appendhistory
setopt autocd
setopt autolist
setopt automenu
setopt autoremoveslash
setopt cdablevars
setopt histallowclobber
setopt histignorealldups
setopt histignoredups
setopt histsavenodups
setopt interactivecomments
setopt listpacked
setopt listtypes
setopt longlistjobs
ZSH_THEME="dracula-pro"
alias luamake=/var/home/jas/downloads/lua-language-server/3rd/luamake/luamake