Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110612495
D18775.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
537 B
Referenced Files
None
Subscribers
None
D18775.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D18775: Make sh(1) recognize the default $HOME.
Attached
Detach File
Event Timeline
Log In to Comment