Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions bin/standalone-installer-unix
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,17 @@ shell-rc() {
esac;;
zsh)
echo "${ZDOTDIR:-~}/.zshrc";;
sh)
# sh, whether a historic version or bash in sh-compat mode, doesn't
# use any default startup file for interactive shells. It only
# uses a default startup file for login shells. We'll have to
# assume here that anyone using sh as their default shell will also
# be using login shells appropriately. On macOS, at least, common
# terminal emulators spawn login shells (see commentary above).
# -trs, 26 September 2023

# shellcheck disable=SC2088
echo "~/.profile";;
*)
# A decent guess?
#
Expand Down