Skip to content

Conversation

@Barbiero
Copy link

@Barbiero Barbiero commented May 29, 2025

I've changed the (un)install scripts so that they are a bit more robust

  • You can now use options like -i and -s to explicitly set the install directory or the symlink path
  • it can create symlinks without sudo if the current user has permission to do so on the target symlink path
  • ensure that the target symlink path exists so we don't get cryptic errors if the user forgot to mkdir.
  • you can now install phpctl from a local repo with -l, mostly useful when you already cloned this repo and don't want to fetch from github
  • use tput for terminal colors if possible
  • can now uninstall without sudo

Also:

  • remove the phtpctl.dev reference from install.md since that URL is no longer accessible (See Is this still being maintained? #49)
  • add an editorconfig just so my IDE/shfmt won't try to change every single whitespace indent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant