# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # shells/poshinit # shells/poshinit/Makefile # shells/poshinit/distinfo # shells/poshinit/pkg-descr # echo c - shells/poshinit mkdir -p shells/poshinit > /dev/null 2>&1 echo x - shells/poshinit/Makefile sed 's/^X//' >shells/poshinit/Makefile << '6478807b2a3d8dc27461825a16cce70d' X# $FreeBSD$ X XPORTNAME= poshinit XPORTVERSION= 1.0 XCATEGORIES= shells XMASTER_SITES= XDISTFILES= X XMAINTAINER= bourne.identity@hotmail.com XCOMMENT= Portable shell setup for Bash/Zsh across FreeBSD/Linux/Cygwin X XLICENSE= GPLv2+ XLICENSE_FILE= ${WRKSRC}/LICENSE X XUSE_GITHUB= yes XGH_ACCOUNT= bourne-again X XNO_BUILD= yes XNO_ARCH= yes X XPLIST_FILES= bin/${PORTNAME} \ X man/man1/${PORTNAME}.1.gz X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 X X.include 6478807b2a3d8dc27461825a16cce70d echo x - shells/poshinit/distinfo sed 's/^X//' >shells/poshinit/distinfo << 'ce674f5dd39fb7629c07239d6657c6f1' XTIMESTAMP = 1542812999 XSHA256 (bourne-again-poshinit-1.0_GH0.tar.gz) = 39b263db0c0ca9682cbe6b71dacb73c9b5bdd3a12aca2698df1f349fe6fee068 XSIZE (bourne-again-poshinit-1.0_GH0.tar.gz) = 11636 ce674f5dd39fb7629c07239d6657c6f1 echo x - shells/poshinit/pkg-descr sed 's/^X//' >shells/poshinit/pkg-descr << '2129c847ef038fffda5874a53c844d9d' XYou want your shell stuff to work the same way even when you use a Xdifferent shell, or even a different box. Right ? X XIf you use poshinit (Portable Shell Initialization), you can attain at Xleast most of what you desire, perhaps even all. You can log out of Bash Xand log in with Zsh (or vice versa) - and your aliases/exports/functions Xwill continue to work as before. X XIt gets better - if someday you need to use a different box with a Xdifferent OS, you can get your shell to work your 'normal' way in a Xjiffy. Just save your $HOME/.shell directory on your primary box, and Xpaste it over your second box's $HOME/.shell (after running poshinit Xsetup script on the second box). The second box need not be the same Xoperating system - poshinit works across FreeBSD / Linux / Cygwin. X XWWW: https://github.com/bourne-again/poshinit 2129c847ef038fffda5874a53c844d9d exit