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 7, 2023
1 parent a1b7edf commit ad20567
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,19 @@
command: "systemctl disable {{ item }}"
with_items:
- docker.service

- 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 ad20567

Please sign in to comment.