Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

ls with colors leads to error #4

Closed
rodfersou opened this issue Mar 11, 2020 · 1 comment
Closed

ls with colors leads to error #4

rodfersou opened this issue Mar 11, 2020 · 1 comment

Comments

@rodfersou
Copy link

Package translations rely on ls on makefile https://github.com/wch/r-source/blob/32334706896c2631fdd050c1b807ce4b6e867aea/src/library/translations/Makefile.in#L22 what leads to error when ls command is configured to have colors:

building package 'translations'
cp: \033[34m./inst/da\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/de\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/en\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/en@quot\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/en_GB\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/es\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/fa\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/fr\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/it\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/ja\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/ko\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/nn\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/pl\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/pt_BR\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/ru\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/tr\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/zh_CN\033[39;49m\033[0m: No such file or directory
cp: \033[34m./inst/zh_TW\033[39;49m\033[0m: No such file or directory

Any tip on how to get rid of those colors just to install R?

@rodfersou
Copy link
Author

rodfersou commented Mar 11, 2020

Using Oh my ZSH here; so ended up with this command:

$ DISABLE_LS_COLORS="true" zsh -c "asdf install \R 3.6.3"

Make sure that CLICOLORS and CLICOLORS_FORCE are not set

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant