Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Gerry Agbobada
@gagbo
so that means I have to "tmux-guard" the antigen part of .zshrc ? because using 'tmux' will source it anyway
Ben Klein
@robobenklein
tmux is supposed to spawn a new, completely clean zsh process, without any leftover state from your current shell instance
Gerry Agbobada
@gagbo
And then I need to antigen reset to get to normal state
Ben Klein
@robobenklein
yep that literally looks like the zshrc is just being sourced twice on startup... I suspect it's a problem to be solved with tmux conf
potentially related? : ChrisJohnsen/tmux-MacOSX-pasteboard#23
Gerry Agbobada
@gagbo
I'll check this out then, thanks
Ben Klein
@robobenklein
it could potentially also be that source .zshrc is located in another RC file, check stuff like .profile, /etc/zsh/*rc files, etc
Gerry Agbobada
@gagbo
it works with setting default-shell back to bash and default-command to zsh. Thanks @robobenklein
Iacopo Isimbaldi
@isiachi
Hi All
Why do we need to add all the bundles to the PATH variable?
Is it required for any reason?
If I enable kubectl bundle, then when I will try to tab complete my kubectl command, the terminal will get stuck between kubectl and kubectl.plugin.zsh
Ben Klein
@robobenklein
I also didn't like that fact, but this is what I did: https://github.com/robobenklein/configs/blob/2a9c3ed29df402e3a1caee5e4890c4eb8dc085d2/zsh/zshrc#L218
  # Remove paths that start with $HOME/.antigen/
  antigen_fullpath=$(zrllink "$HOME/.antigen/" )
  path=( ${path%"${antigen_fullpath}/*"} )
Iacopo Isimbaldi
@isiachi
@robobenklein Thanks I've done the same thing, just slightly different
# Remove paths that start with $HOME/.antigen/
antigen_fullpath="${HOME}/.antigen"
path=( ${path%${antigen_fullpath}/*} )
Algy
@APIUM
Hey guys, when I load zsh I get
-antigen-parse-args:78: command not found: #
Intended to say more, but looked through all my configs and couldn't find anything remotely relevant on any line 68 or 78, also looked through the source for antigen-parse-args and didn't find anything. Has anybody had this issue?
Ben Klein
@robobenklein
Could you paste the relevant function lines here from your install?
Algy
@APIUM

31 # Parse the given arguments. (Will overwrite the above values). 32 eval "$(-antigen-parse-args \ 33 'url?, loc? ; branch:?, no-local-clone?, btype:?' \ 34 "$@")"

206 eval "$(-antigen-parse-args 'url ; update?, verbose?' "$@")" 207 shift $#

Algy
@APIUM
Sorry for the spam, made a gist with the antigen-parse-args function, the two calls I could find are above. https://gist.github.com/APIUM/d5b2a49f3092ac39b648a7831c99046d
Ben Klein
@robobenklein
that is very bizarre indeed, could you which -antigen-parse-args and give that output instead?
Algy
@APIUM
I get bad option -n with that as is, when I escape the - I get the same thing. Doing antigen-parse-argsgives me antigen-parse-args not found. I assume I'm doing something wrong?
Ben Klein
@robobenklein
oh my b, which -- -antigen-parse-args
Algy
@APIUM
Ben Klein
@robobenklein

Perhaps something from

        local arg="${1#--}" 
        if [[ $arg != *=* ]]
        then
            local name="$arg" 
            local value='' 
        else
            local name="${arg%\=*}" 
            local value="${arg#*=}" 
        fi

?

those are the only two instances of # in there so....
Algy
@APIUM
I'll have to have a play around, thank you.
Algy
@APIUM
Commenting out any combination of those lines seems to be a no-go. I might just reinstall.
Pavel Mishkovich
@pavelexpertov_gitlab
Hello! I am having trouble finding the source files for the plugins I installed using antigen. Where do they usually get stored?
Augusto Gonzalez
@4uGuSt0o_twitter
Hello Guys. I am trying to use zsh as the main terminal
but I do have problems to do so
I already install antigen
and install zsh
Augusto Gonzalez
@4uGuSt0o_twitter
I already fix it
this tutorial was pretty straight forward. So if anyone has the same problem just check it out
c-kirkeby
@c-kirkeby
How do I uninstall antigen and revert my plugins to the point they were at prior to the install? I'm having some issues with slowness and my theme not working, so I just want to uninstall. Can't find any information about how to do this in the wiki.
David Napier
@dnapier
Hi, I'm struggling with an issue, and I'm not exactly sure when it began (what action caused it). For some reason my antigen.zsh isn't even loading.
The response I'm getting begins with: 'sed: can't read antigen: No such file or directory'
I'm loading Antigen from my .zshrc file with the line : 'source ~/antigen.zsh'
David Napier
@dnapier
Running antigen version 2.2.2
David Napier
@dnapier
Hmm.. I've narrowed down the issue to something in my .alias and .functions dotfiles.
David Napier
@dnapier
Figured it out, was due ot the placement of my line initiating antigen.zsh
Ghost
@ghost~5798ee8340f3a6eec05cc0df
I'm having trouble with my antigen install. Running antigen bundle <name> returns, bundle is already installed
Even when it is not.
A new zsh shell shows none of the modules are available
Gio Borje
@Hydrotoast
Hi all, the last commit for this project was at Jan. 2018 on the 'develop' branch. Is this project still active?
Ben Klein
@robobenklein
Most people I know have moved on to other plugin managers by now, including myself.