Skip to content

Commit

Permalink
Add tab completion, path modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
pcd1193182 committed Dec 18, 2023
1 parent 3156b5f commit 4c6a4f1
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -698,3 +698,19 @@
when:
- variant == "internal-buildserver"
- not ansible_is_chroot

- name: Add systemctl bash completion
copy:
dest: "/etc/bash_completion.d/systemctl"
content: |
if [[ -r /usr/share/bash-completion/completions/systemctl ]]; then
. /usr/share/bash-completion/completions/systemctl && complete -F _systemctl systemctl
fi
- name: Source bash completion
blockinfile:
dest: "/export/home/delphix/.bashrc"
block: |
. /etc/bash_completion.d/systemctl
. /etc/bash_completion.d/zfs
PATH=$PATH:/opt/delphix/server/bin

0 comments on commit 4c6a4f1

Please sign in to comment.