Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add a helper script to ease path configuration

Abierto
#738 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
macos, postgresql, shell

Línea de trabajo

Start by comparing the path instructions in docs/index.md, docs/documentation/install.md, and docs/documentation/cli-tools.md, then read the linked discussion in issue 735. Define the helper script's supported installation locations and privilege behavior, and verify that its output and PATH activation meet the requested user experience.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Currently, we recommend to use a medium complex command[^1] to configure the path for CLI apps. This may scare users not used to the command line and doesn't give proper feedback it it was successful. Further, the Terminal window needs to be closed and reopened for the change to be effective. This instructions are given at docs/index.md, docs/documentation/install.md and docs/documentation/cli-tools.md but the restart is only mentioned at the last location.

In https://github.com/PostgresApp/PostgresApp/issues/735#issuecomment-1810414069 the idea was expressed to include a shell script that takes care of setting the path which would be friendlier to call. This script could give a more verbose output, ask for password if ran w/o sudo and activate the new $PATH directly for the current session. Further, this script could take care of using the actual path in case Postgres.app is not in /Applications.

Maybe this script could even be called using a button in the preferences or from the menu, like tolls like BBEdit install their cmd-tooling.

[^1]: sudo mkdir -p /etc/paths.d &&
echo /Applications/Postgres.app/Contents/Versions/latest/bin | sudo tee /etc/paths.d/postgresapp

Lenguaje dominante
Makefile
Estrellas
7.8k
Forks
404
Merge medio
6 h 55 min
PR fusionados (30 d)
6

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PostgresApp/PostgresApp

Todos los issues de PostgresApp/PostgresApp

Issues similares

Más issues de CLI

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.