mirror of
https://codeberg.org/hyperreal/dotfiles
synced 2024-11-01 16:53:07 +01:00
54 lines
1.2 KiB
Bash
54 lines
1.2 KiB
Bash
# vim:set ft=zsh ai et sw=4 ts=4:
|
|
#
|
|
# ~/.zshrc
|
|
|
|
## 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 "~/.zshrc.d", 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"
|
|
|
|
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
|
|
|
|
## Prompt
|
|
eval "$(starship init zsh)"
|