Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
zsh gentoo completions with antigen [closed]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 188
Location: 11.435765792823453, 143.05926743686274

PostPosted: Tue Sep 07, 2021 7:52 pm    Post subject: zsh gentoo completions with antigen [closed] Reply with quote

anyone know how to get gentoo specific completions for zsh working with antigen?

~/.zshrc:
Code:

# 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

# Created by newuser for 5.8
source ~/.zsh/antigen.zsh
antigen init ~/.zsh/antigenrc

# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.zsh/p10k.zsh ]] || source ~/.zsh/p10k.zsh
if [ -f ~/.zsh/zsh_alias ]; then
    source ~/.zsh/zsh_alias
fi

export PATH="$HOME/.poetry/bin:$PATH"


~/.zsh/antigenrc:
Code:

# Load the oh-my-zsh's library.
antigen use oh-my-zsh

# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle pip
antigen bundle lien
antigen bundle command-not-found
antigen bundle autojump
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle ael-code/zsh-colored-man-pages
# Misc bundles
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-completions
antigen bundle hcgraf/zsh-sudo

# Load the theme.
antigen theme romkatv/powerlevel10k

# Tell Antigen that you're done.
antigen apply
Back to top
View user's profile Send private message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 188
Location: 11.435765792823453, 143.05926743686274

PostPosted: Tue Sep 07, 2021 8:01 pm    Post subject: Reply with quote

nevermind, figured it out
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22673

PostPosted: Tue Sep 07, 2021 8:30 pm    Post subject: Reply with quote

Please provide your solution so that future readers can benefit from your work.
Back to top
View user's profile Send private message
Shadow_Fury
Apprentice
Apprentice


Joined: 20 Apr 2021
Posts: 188
Location: 11.435765792823453, 143.05926743686274

PostPosted: Tue Sep 07, 2021 10:10 pm    Post subject: Reply with quote

add to antigenrc:

Code:

antigen bundle gentoo/gentoo-zsh-completions
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum