Review Request 110298: added kdevplatform part of kdevelop zsh integration

Phil Schaf flying-sheep at web.de
Thu Jul 18 15:09:24 UTC 2013



> On July 18, 2013, 2:56 p.m., Aleix Pol Gonzalez wrote:
> > Is it really needed the .zshrc file installation? Where is it supposed to be?

what we want to do is 1. start zsh 2. execute a command 3. drop into interactive mode.

that’s easy with bash, since it has --init-file.

the only way i’ve seen to do that in zsh is giving zsh a $ZDOTDIR env variable in which it will look for initialization files like e.g. .zshrc

and in order to use that without ignoring the user’s setup, we’ll have to replicate .zsh’s algorithm to source those dotfiles inside the new dotfile.

so yes, it’s needed and the only way i’m aware of. and it’s of course supposed to be in the same directory as kdevplatform_shell_environment.sh, which it refers to.


- Phil


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110298/#review36126
-----------------------------------------------------------


On May 5, 2013, 1:53 p.m., Phil Schaf wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/110298/
> -----------------------------------------------------------
> 
> (Updated May 5, 2013, 1:53 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Description
> -------
> 
> added kdevplatform part of kdevelop zsh integration
> 
> sister review of https://git.reviewboard.kde.org/r/110299/
> 
> 
> Diffs
> -----
> 
>   util/.zshrc PRE-CREATION 
>   util/CMakeLists.txt 29de12617b4e9d7697abc73465ed435b9039c531 
>   util/kdevplatform_shell_environment.sh d2ece7f9286f8cb8ae35c672a29d5248e2c1a199 
> 
> Diff: http://git.reviewboard.kde.org/r/110298/diff/
> 
> 
> Testing
> -------
> 
> I don’t know if $OLD_ZDOTDIR gets carried over to “kdevplatform_shell_environment.sh” through “.zshrc”!
> 
> can someone help here?
> 
> 
> Thanks,
> 
> Phil Schaf
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130718/51dc6afe/attachment.html>


More information about the KDevelop-devel mailing list