MacOS X (Darwin) specific tweaks.
This commit is contained in:
@ -105,12 +105,6 @@ foreach ch ($referencechars_raw)
|
||||
set referencechars=( $referencechars `printf "${unicode}"` )
|
||||
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
|
||||
alias precmd 'source ${CSHENV_DIR}/tcshrc.prompt.final'
|
||||
#alias postcmd echo doit
|
||||
|
32
tcshrc.system.Darwin
Normal file
32
tcshrc.system.Darwin
Normal 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
|
||||
###########################
|
||||
|
||||
|
Reference in New Issue
Block a user