feat: refacto aliases/completion kubectl, helm, stern
This commit is contained in:
6
completion.d/helm
Normal file
6
completion.d/helm
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
if (command -v helm &> /dev/null)
|
||||
then
|
||||
source <( helm completion bash )
|
||||
fi
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ( which kubectl ) &> /dev/null
|
||||
if (command -v kubectl &> /dev/null)
|
||||
then
|
||||
source <(kubectl completion bash)
|
||||
fi
|
||||
|
6
completion.d/stern
Normal file
6
completion.d/stern
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
if (command -v stern &> /dev/null)
|
||||
then
|
||||
source <(stern --completion bash)
|
||||
fi
|
Reference in New Issue
Block a user