Last active
January 3, 2022 01:57
-
-
Save agkozak/bc86faa46942a99332cd3967a6400759 to your computer and use it in GitHub Desktop.
@kuttor's .zshrc, converted for use with zcomet
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
#! /bin/env zsh | |
# Install zcomet, if necessary | |
if [[ ! -f ${ZDOTDIR:-${HOME}}/.zcomet/bin/zcomet.zsh ]]; then | |
command git clone https://github.com/agkozak/zcomet.git ${ZDOTDIR:-${HOME}}/.zcomet/bin | |
fi | |
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# -*- coding: utf-8 -*- | |
# vim: set sts=2 sw=2 ts=2 | |
source "$HOME/.zcomet/bin/zcomet.zsh" | |
zcomet load romkatv/powerlevel10k | |
zcomet snippet OMZ::lib/clipboard.zsh | |
zcomet snippet OMZ::lib/compfix.zsh | |
zcomet snippet OMZ::lib/completion.zsh | |
zcomet snippet OMZ::lib/correction.zsh | |
zcomet snippet OMZ::lib/directories.zsh | |
zcomet snippet OMZ::lib/functions.zsh | |
zcomet snippet OMZ::lib/git.zsh | |
zcomet snippet OMZ::lib/history.zsh | |
zcomet snippet OMZ::lib/key-bindings.zsh | |
zcomet snippet OMZ::lib/spectrum.zsh | |
zcomet snippet OMZ::lib/termsupport.zsh | |
# I don't normally install fzf, so I need to add: | |
# zcomet load junegunn/fzf | |
# (( ${+commands[fzf]} )) || ~[fzf]/install | |
zcomet load Aloxaf/fzf-tab | |
zcomet load joshskidmore/zsh-fzf-history-search | |
zcomet load andrewferrier/fzf-z | |
# FZ_HISTORY_CD_CMD=_zlua | |
zcomet load changyuheng/fz | |
zcomet load chitoku-k/fzf-zsh-completions | |
zcomet load djui/alias-tips | |
zcomet load eastokes/aws-plugin-zsh | |
zcomet load hlissner/zsh-autopair | |
zcomet load kutsan/zsh-system-clipboard | |
zcomet load macunha1/zsh-terraform | |
zcomet load nojanath/ansible-zsh-completion | |
zcomet load onyxraven/zsh-saml2aws | |
zcomet load paw-lu/pip-fzf | |
zcomet load rapgenic/zsh-git-complete-urls | |
zcomet load rupa/v | |
path+=( ~[v] ) | |
zcomet load FFKL/s3cmd-zsh-plugin | |
# Requires lua | |
zcomet load skywind3000/z.lua | |
zcomet load sparsick/ansible-zsh | |
zcomet load srijanshetty/zsh-pip-completion | |
zcomet load zdharma-continuum/fast-syntax-highlighting | |
zcomet load zsh-users/zsh-autosuggestions | |
zcomet load zsh-users/zsh-completions | |
zcomet compinit | |
# Load Prompt | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment