Page MenuHomeFreeBSD

D18775.diff
No OneTemporary

D18775.diff

Index: head/share/skel/dot.profile
===================================================================
--- head/share/skel/dot.profile
+++ head/share/skel/dot.profile
@@ -21,6 +21,9 @@
# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.shrc; export ENV
+# Let sh(1) know it's at home, despite /home being a symlink.
+if [ "$PWD" != "$HOME" ] && [ "$PWD" -ef "$HOME" ] ; then cd ; fi
+
# Query terminal size; useful for serial lines.
if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 13, 1:05 PM (6 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31411196
Default Alt Text
D18775.diff (537 B)

Event Timeline