diff options
author | 2012-03-17 13:00:55 +0100 | |
---|---|---|
committer | 2012-03-17 13:00:55 +0100 | |
commit | 3f7a44f68ec2a5f8c9c134058ae214e0e6833b63 (patch) | |
tree | 004c69d2201525529ee41960d2599084d4365dfd /app-shells | |
parent | add profiles/repo_name (diff) | |
download | plab-3f7a44f68ec2a5f8c9c134058ae214e0e6833b63.tar.gz plab-3f7a44f68ec2a5f8c9c134058ae214e0e6833b63.tar.bz2 plab-3f7a44f68ec2a5f8c9c134058ae214e0e6833b63.zip |
add pol's zsh config
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/zsh-pol-config/Manifest | 1 | ||||
-rw-r--r-- | app-shells/zsh-pol-config/zsh-pol-config-9999.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/app-shells/zsh-pol-config/Manifest b/app-shells/zsh-pol-config/Manifest new file mode 100644 index 0000000..0b86f0d --- /dev/null +++ b/app-shells/zsh-pol-config/Manifest @@ -0,0 +1 @@ +EBUILD zsh-pol-config-9999.ebuild 575 RMD160 7bd8f41ac0c7e644b8ed0e99c24c5ec4382b3143 SHA1 a00e784ff3fdeeeee4a5d1f40da95becbe3de620 SHA256 2962e8b2a19bdc8ebdc88908728e39e778dbc8a5dde089d3f9df723b6cd2eaa6 diff --git a/app-shells/zsh-pol-config/zsh-pol-config-9999.ebuild b/app-shells/zsh-pol-config/zsh-pol-config-9999.ebuild new file mode 100644 index 0000000..914a15a --- /dev/null +++ b/app-shells/zsh-pol-config/zsh-pol-config-9999.ebuild @@ -0,0 +1,32 @@ +EAPI=4 +inherit eutils git-2 + +DESCRIPTION="zsh pol's config" + +EGIT_REPO_URI="git@vps.labedan.fr:zsh.git" +EGIT_PROJECT="zsh" +EGIT_BRANCH="master" + +SRC_URI="" +SLOT="0" + +KEYWORDS="~amd64" + +RDEPEND="app-shells/zsh-completion" +DEPEND="" + +S="${WORKDIR}/${PN}" + +src_install() { + ebegin "Copy pol's zsh config..." + insinto /etc/zsh + doins -r * + eend $? || "ERROR: cannot install zsh config" + + ebegin "Set env for pol's zsh config..." + cat <<-EOF > "${T}/99zsh" + CONFIG_PROTECT_MASK=/etc/zsh + EOF + doenvd "${T}/99zsh" + eend $? || die "ERROR: failed to set zsh environment" +} |