MacOS X (Darwin) specific tweaks.

This commit is contained in:
2025-07-02 12:26:56 -04:00
parent bc4077b3af
commit fde20acf72
2 changed files with 32 additions and 6 deletions

View File

@ -105,12 +105,6 @@ foreach ch ($referencechars_raw)
set referencechars=( $referencechars `printf "${unicode}"` ) set referencechars=( $referencechars `printf "${unicode}"` )
end end
if( $CSHENV_SYSTEM == "Darwin" ) then
# Macos seems to dislike using printf to construct unicode chars.
# So you get a dumb set of ABCDXYZ
set referencechars="A B C D X Y Z"
endif
# Rotation # Rotation
alias precmd 'source ${CSHENV_DIR}/tcshrc.prompt.final' alias precmd 'source ${CSHENV_DIR}/tcshrc.prompt.final'
#alias postcmd echo doit #alias postcmd echo doit

32
tcshrc.system.Darwin Normal file
View File

@ -0,0 +1,32 @@
if( $?CSHENV_DEBUG ) then
echo "Sourcing tcshrc.system.Darwin..."
endif
# Set the acknowledgement bit, essentially
setenv CSHENV_SYSTEM_CONFIGURED Darwin
setenv LESS -erF
setenv PAGER less
# A bunch of stuff from Homebrew has to patch my environment...
# Homebrew stuff
setenv HOMEBREW_PREFIX /opt/homebrew;
setenv HOMEBREW_CELLAR /opt/homebrew/Cellar;
setenv HOMEBREW_REPOSITORY /opt/homebrew;
set path=( /opt/homebrew/bin /opt/homebrew/sbin ${path} )
test ${?MANPATH} -eq 1 && setenv MANPATH :${MANPATH};
setenv INFOPATH /opt/homebrew/share/info`test ${?INFOPATH} -eq 1 && echo :${INFOPATH}`;
alias printf gprintf
if( $?CSHENV_DEBUG ) then
echo "Done sourcing tcshrc.system.Darwin..."
endif
###########################
# vim: ft=tcsh
###########################