Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 30 15:49
    voltechs commented #725
  • Jun 29 03:54
    0xdevalias commented #673
  • Jun 28 03:01
    bluebambu commented #721
  • Jun 27 10:15
    marlonrichert commented #725
  • Jun 25 11:07
    voltechs commented #725
  • Jun 25 10:41
    marlonrichert commented #725
  • Jun 25 08:41
    jasonm23 commented #725
  • Jun 23 01:10
    Wirone closed #388
  • Jun 23 00:52
    Wirone closed #388
  • Jun 23 00:52
    Wirone commented #388
  • Jun 22 17:47
    jackblackevo commented #659
  • Jun 22 17:46
    jackblackevo commented #659
  • Jun 14 21:39
    bbbco opened #739
  • May 24 21:51
    techstay closed #705
  • May 18 09:26
    amritpalnagrame commented #701
  • May 18 08:49
    amritpalnagrame commented #701
  • May 17 18:12
    amritpalnagrame commented #701
  • May 17 18:06
    amritpalnagrame commented #701
  • May 14 14:24
    mik3h0 commented #675
  • May 13 10:56
    Zocker1999NET edited #738
DC*
@desyncr
oh, yeah, compinit can be messed up if using omz and other frameworks interchangably
cduong13
@chrisduong
I had to run ‘compinit’ again in my zshrc so that aws completion can work
DC*
@desyncr
antigen reset should also work to clear up compinits
cduong13
@chrisduong
I would try it. Thanks
chewblacka
@chewblacka
Hi Ive just installed antigen and it's working well, except everytime I make a change to .zshrc (even a trivial one) I get the errof "Antigen: Must provide a bundle url or name." on startup
DC*
@desyncr
Can you share your .zshrc file?
It seems it's an error with how antigen bundle is used.
You need to pass it a plugin/bundle name such as antigen bundle zsh-users/zsh-autosuggestions
chewblacka
@chewblacka
ok many thanks! do I just paste my .zshrc into here?
DC*
@desyncr
Yeah, be sure to use backticks to format to code
like this
Or use gist.github.com
chewblacka
@chewblacka

source $HOME/antigen/antigen.zsh

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

antigen bundle <<EOBUNDLES

# Bundles from the default repo (robbyrussell's oh-my-zsh)
git

# Syntax highlighting bundle.
zsh-users/zsh-syntax-highlighting

# Fish-like auto suggestions
zsh-users/zsh-autosuggestions

# Extra zsh completions
zsh-users/zsh-completions

EOBUNDLES

Load the theme

antigen theme robbyrussell
antigen apply`

DC*
@desyncr
It must be antigen bundles <<EOBUNDLES
bundles instead of bundle
chewblacka
@chewblacka
doh!
Many thanks! Much appreciated!
DC*
@desyncr
haha, it's tricky
Sure, no problem! :) Happy to help!
chewblacka
@chewblacka
typos are the tricky to spot! Many thanks - it worked a charm!
chewblacka
@chewblacka
I'm getting a strange error - I can't seem to load bundles from the command line any more. They work fine in my .zshrc, and themes are working, but when I attempt to load bundles I get e.g. "Installing github.com/lein... Error! Activate logging and try again."
chewblacka
@chewblacka
ok I've enabled logging and it seems to be an issue finding the correct git repository. E.g. when I try to load the bundle fasd I get the error: "fatal: repository 'https://github.com/fasd.git/' not found"
chewblacka
@chewblacka
ok managed to fix the problem thanks to the logging!
DC*
@desyncr
yay logging! :clap:
Frysco
@frysco_twitter
Hi - I have a question relating to antigen. When I am doing 'sudo -Es' I get a message of "zsh compinit: insecure directories and files, run compaudit for list.", and when I do that, I see directories under ~/.antigen/bundles/{robbyrussell,zsh-users} All directories under there are owned by my user, and permissions are 700 on each directory. Wondering a) what exactly makes a directory insecure, and b) how to fix this issue so I don't get that message when I 'sudo -Es'
Kaleb Elwert
@belak
@desyncr Hey, quick question - I'm playing around with a personal framework meant to be used with antigen (or any plugin manager, really)... is there a way to get antigen to load out of repo/name rather than repo/plugins/name when using the short form?
Kaleb Elwert
@belak
I've been fighting with prezto too much lately - I feel like I may end up ruffling a few feathers with this... >_<
Kaleb Elwert
@belak
Hm, weird now it's just working without using repo/plugins/name
Arti Villa
@artivilla_twitter
Hey guys, I've tried several methods already but I can't get my iterm to stop throwing these errors: /Users/chandoka/.zshrc:20: command not found: antigen-bundle Is antigen not loading?
the first line I have in my ~/.zshrc file is source ~/.antigen/antigen.zsh and I used this command to install it on my home dir. https://devstate.de/workflow/install-antigen/
I've also tried homebrew and running into the same issue.
and when I source my ~/.zshrc file it says Seems robbyrussell/oh-my-zsh is already installed! for all the plugins so I'm not sure.
cduong13
@chrisduong
Try antigen bundle
Arti Villa
@artivilla_twitter
@chrisduong ? is that a pkg?
Gerry Agbobada
@gagbo
Hello, does someone use tmux with antigen ?
If I start tmux with only 'tmux', .zshrc is sourced twice and it breaks plugins in cache
if I start tmux with 'tmux new zsh', I suppose that the .zshrc is not even sourced once, and I have exactly what I expect with 'tmux' (aka a shell in tmux ready to go, without breaking)
"breaking" meaning that the prompt theme is zsh default, and when I change theme with antigen theme robbyrussell, I have messages from zsh telling that git_prompt_info is not found
it goes back to normal if I antigen reset and start a new terminal emulator
Ben Klein
@robobenklein
What does your tmux.conf look like?
Gerry Agbobada
@gagbo
I just pushed the few ommits I had today, but it never worked as far as I remember
Ben Klein
@robobenklein
If it's a problem with the cache, maybe creating separate caches for tmux and normal shell will help? Here's how I do mine: https://gitlab.com/robobenklein/configs/blob/2a9c3ed29df402e3a1caee5e4890c4eb8dc085d2/zsh/zshrc#L209
Gerry Agbobada
@gagbo
I supposed it was the cache but I'm really not sure
It didn't work. I guess I'll just go back to maintaining multiple repos then, I just have no idea at this point
Ben Klein
@robobenklein
If it is really just a problem of sourcing the rc multiple times, just set ZSHRC_LOADED=true at the end and do a check for it in the beginning, but I think it would be something else causing the problem
and it's not partly the problem that you have both an antigenrc and a zshrc? Just wondering how that is set up
Gerry Agbobada
@gagbo
I used to try antigenrc to see if it changed the behaviour. Nothing changed so I removed the call to antigenrc in zshrc
I did not clean up the antigenrc file, but since I don't call antigen init in zshrc now it doesn't matter