diff --git a/mcfly-0.5.2.ebuild b/mcfly-0.5.2.ebuild index faf87b3..020b491 100644 --- a/mcfly-0.5.2.ebuild +++ b/mcfly-0.5.2.ebuild @@ -90,15 +90,28 @@ src_install() { insinto "/usr/share/${PN}" doins "${PN}.bash" + doins "${PN}.fish" + doins "${PN}.zsh" einstalldocs } pkg_postinst() { - local p="${EPREFIX}/usr/share/${PN}/${PN}.bash" - elog "To start using ${PN}" + elog "## BASH ##" + local p="${EPREFIX}/usr/share/${PN}/${PN}.bash" elog "Add the following to your ~/.bashrc" + elog "[[ -r ${p} ]] && source ${p}" + elog + elog "## FISH ##" + local p="${EPREFIX}/usr/share/${PN}/${PN}.fish" + elog "Add the following to your ~/.config/fish/config.fish" + elog "if test -r ${p}" + elog " source ${p}" + elog " mcfly_key_bindings" elog - elog "[[ -f ${p} ]] && source ${p}" + elog "## ZSH ##" + local p="${EPREFIX}/usr/share/${PN}/${PN}.zsh" + elog "Add the following to your ~/.zshrc" + elog "[[ -r ${p} ]] && source ${p}" }