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
Fri, Feb 21, 9:49 PM (2 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16761812
Default Alt Text
D18775.diff (537 B)

Event Timeline