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 link simbólico para o tema spaceship já existe antes de criá-lo #16

Open
2 tasks
ErickRock opened this issue Sep 10, 2023 · 0 comments
Open
2 tasks
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ErickRock
Copy link
Owner

ErickRock commented Sep 10, 2023

Visão geral

O script cria um link simbólico para o tema spaceship no diretório ~/.oh-my-zsh/themes, mas não verifica se o link já existe. Isso pode causar um aviso de que o arquivo já existe. É preciso usar a opção -f do comando ln para forçar a substituição do link existente, ou verificar se ele já existe com o comando test -L.

Tarefas

  • Adicionar uma opção -f ao comando ln
  • Ou adicionar uma condição para verificar se o link já existe
@ErickRock ErickRock added bug Something isn't working enhancement labels Sep 10, 2023
@ErickRock ErickRock self-assigned this Sep 10, 2023
@ErickRock ErickRock added good first issue Good for newcomers 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
Projects
None yet
Development

No branches or pull requests

1 participant