[101579] trunk/dports/shells/zsh/Portfile

larryv at macports.org larryv at macports.org
Sun Jan 13 20:50:01 PST 2013


Revision: 101579
          https://trac.macports.org/changeset/101579
Author:   larryv at macports.org
Date:     2013-01-13 20:50:01 -0800 (Sun, 13 Jan 2013)
Log Message:
-----------
zsh: Add notes on changing the default login shell.

Modified Paths:
--------------
    trunk/dports/shells/zsh/Portfile

Modified: trunk/dports/shells/zsh/Portfile
===================================================================
--- trunk/dports/shells/zsh/Portfile	2013-01-14 04:19:19 UTC (rev 101578)
+++ trunk/dports/shells/zsh/Portfile	2013-01-14 04:50:01 UTC (rev 101579)
@@ -44,6 +44,17 @@
 test.run        yes
 test.target     check
 
+notes "
+To set MacPorts' ${name} as default login shell, run:
+
+    sudo chpass -s ${prefix}/bin/${name} \${USER}
+
+To be able to switch default shells to or from ${name} without superuser
+privileges, add it to /etc/shells:
+
+    sudo sh -c 'echo ${prefix}/bin/${name} >> /etc/shells'
+"
+
 platform darwin 8 {
     post-configure {
         # poll(2) is broken in Tiger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130113/c298114f/attachment-0001.html>


More information about the macports-changes mailing list