Merge branch 'master' of https://gitea.nerdland.org/adam/cshenv into master
* 'master' of https://gitea.nerdland.org/adam/cshenv: Gracefully handle no unicode in printf Probe the local printf for unicode Conflicts: tcshrc.aliases
This commit is contained in:
@@ -170,6 +170,17 @@ else
|
||||
alias p echo "Password store not found!"
|
||||
endif
|
||||
|
||||
|
||||
# Pick up the coreutils printf, if it exists...
|
||||
if( -f `which gprintf` ) then
|
||||
alias printf gprintf
|
||||
endif
|
||||
|
||||
if( ! { printf '\u0000' } ) >&/dev/null then
|
||||
setenv CSHENV_NO_UNICODE_PRINTF
|
||||
endif
|
||||
|
||||
|
||||
alias prompt source ${CSHENV_DIR}/tcshrc.prompt.command
|
||||
|
||||
safe_source ${CSHENV_DIR}/tcshrc.aliases.${CSHENV_SYSTEM}
|
||||
|
||||
Reference in New Issue
Block a user