Changeset View
Changeset View
Standalone View
Standalone View
bin/sh/dot.shrc
- This file was copied from share/skel/dot.shrc.
# $FreeBSD: head/share/skel/dot.shrc 343399 2019-01-24 11:59:46Z trasz $ | # $FreeBSD: head/bin/sh/dot.shrc 342812 2019-01-06 16:23:28Z trasz $ | ||||
# | # | ||||
# .shrc - bourne shell startup file | # .shrc - bourne shell startup file | ||||
# | # | ||||
# This file will be used if the shell is invoked for interactive use and | # This file will be used if the shell is invoked for interactive use and | ||||
# the environment variable ENV is set to this file. | # the environment variable ENV is set to this file. | ||||
# | # | ||||
# see also sh(1), environ(7). | # see also sh(1), environ(7). | ||||
# | # | ||||
Show All 18 Lines | |||||
# # be paranoid | # # be paranoid | ||||
# alias cp='cp -ip' | # alias cp='cp -ip' | ||||
# alias mv='mv -i' | # alias mv='mv -i' | ||||
# alias rm='rm -i' | # alias rm='rm -i' | ||||
# set prompt: ``username@hostname:directory $ '' | # set prompt: ``username@hostname:directory $ '' | ||||
PS1="\u@\h:\w \\$ " | PS1="\u@\h:\w \\$ " | ||||
jilles: Hmm, perhaps strip the `whoami` part here? It will not work in single-user mode with the… | |||||
Done Inline ActionsI think I'll wait until https://reviews.freebsd.org/D18790 is committed and reuse the \u here. trasz: I think I'll wait until https://reviews.freebsd.org/D18790 is committed and reuse the \u here.
| |||||
# search path for cd(1) | # search path for cd(1) | ||||
# CDPATH=:$HOME | # CDPATH=:$HOME |
Hmm, perhaps strip the whoami part here? It will not work in single-user mode with the obsolete configuration of separate /usr.