Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 770088
Collapse All | Expand All

(-)a/mcfly-0.5.2.ebuild (-3 / +16 lines)
Lines 90-104 src_install() { Link Here
90
90
91
	insinto "/usr/share/${PN}"
91
	insinto "/usr/share/${PN}"
92
	doins "${PN}.bash"
92
	doins "${PN}.bash"
93
	doins "${PN}.fish"
94
	doins "${PN}.zsh"
93
95
94
	einstalldocs
96
	einstalldocs
95
}
97
}
96
98
97
pkg_postinst() {
99
pkg_postinst() {
98
	local p="${EPREFIX}/usr/share/${PN}/${PN}.bash"
99
100
	elog "To start using ${PN}"
100
	elog "To start using ${PN}"
101
	elog "## BASH ##"
102
	local p="${EPREFIX}/usr/share/${PN}/${PN}.bash"
101
	elog "Add the following to your ~/.bashrc"
103
	elog "Add the following to your ~/.bashrc"
104
	elog "[[ -r ${p} ]] && source ${p}"
105
	elog
106
	elog "## FISH ##"
107
	local p="${EPREFIX}/usr/share/${PN}/${PN}.fish"
108
	elog "Add the following to your ~/.config/fish/config.fish"
109
	elog "if test -r ${p}"
110
	elog "    source ${p}"
111
	elog "    mcfly_key_bindings"
102
	elog
112
	elog
103
	elog "[[ -f ${p} ]] && source ${p}"
113
	elog "## ZSH ##"
114
	local p="${EPREFIX}/usr/share/${PN}/${PN}.zsh"
115
	elog "Add the following to your ~/.zshrc"
116
	elog "[[ -r ${p} ]] && source ${p}"
104
}
117
}

Return to bug 770088