Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verificar se o arquivo ~/.zshrc existe antes de modificá-lo #17

Open
1 task
ErickRock opened this issue Sep 10, 2023 · 0 comments
Open
1 task

Verificar se o arquivo ~/.zshrc existe antes de modificá-lo #17

ErickRock opened this issue Sep 10, 2023 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers Melhoria para melhorias feitas Scripts Criação/modificação de scripts

Comments

@ErickRock
Copy link
Owner

ErickRock commented Sep 10, 2023

Visão geral

O script modifica o arquivo ~/.zshrc para configurar o tema spaceship e os plugins do Zinit, mas não verifica se o arquivo existe. Isso pode causar um erro se o arquivo não for criado pelo Oh-my-zsh ou por outro motivo. É preciso usar o comando touch ~/.zshrc para garantir que o arquivo exista antes de adicionar conteúdo a ele.

Tarefas

  • Adicionar um comando touch ~/.zshrc antes de modificar o arquivo
@ErickRock ErickRock added bug Something isn't working enhancement good first issue Good for newcomers labels Sep 10, 2023
@ErickRock ErickRock self-assigned this Sep 10, 2023
@ErickRock ErickRock added Scripts Criação/modificação de scripts Melhoria para melhorias feitas and removed enhancement labels Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers Melhoria para melhorias feitas Scripts Criação/modificação de scripts
Projects
None yet
Development

No branches or pull requests

1 participant