Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F165179407
D18775.id52638.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
505 B
Referenced Files
None
Subscribers
None
D18775.id52638.diff
View Options
Index: share/skel/dot.profile
===================================================================
--- share/skel/dot.profile
+++ 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 [ `realpath "$HOME"` = `pwd` ] ; 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, Aug 7, 2:23 PM (10 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36180651
Default Alt Text
D18775.id52638.diff (505 B)
Attached To
Mode
D18775: Make sh(1) recognize the default $HOME.
Attached
Detach File
Event Timeline
Log In to Comment