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

Add tab completion, path modifications #746

Conversation

pcd1193182
Copy link
Contributor

Problem

Interacting with the systemctl command line tools can be cumbersome. Finding what services exist
and are active can require grepping the output of commands that are not intended for machine parsing.
Remembering and entering the full names of commands is potentially cumbersome if you don't use them
regularly. There are tab completion scripts that intend to solve these problems.

We also have similar problems with the zfs command line tools and the /opt/delphix/server/bin path.
These things add small friction to countless processes that can be easily reduced.

Solution

We add tab completion scripts to the standard location for them on ubuntu systems, and then
source those scripts to get their functionality. We also add the /opt/delphix path to the
delphix user's PATH variable.

Testing Done

Spun up a development VM with these changes and verified that they all performed as expected.

@pcd1193182 pcd1193182 force-pushed the dlpx/pr/pcd1193182/9f98958e-bbbd-4dba-9525-21419cd8065e branch from 29d0bfb to ad20567 Compare December 7, 2023 22:25
@pcd1193182 pcd1193182 marked this pull request as ready for review December 8, 2023 00:35
Copy link

@mwatson-delphix mwatson-delphix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Thanks!

@prakashsurya
Copy link
Contributor

Shouldn't we put this in delphix-platform, so it works for existing engines after an upgrade? This will just do it for new installs..

@pcd1193182 pcd1193182 closed this Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants