Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
4fc570b0
Unverified
Commit
4fc570b0
authored
Feb 13, 2020
by
Marco Seguri
Committed by
GitHub
Feb 13, 2020
Browse files
kubectl: avoid conflict with existing f aliases in kca alias (#8625)
parent
f17e0219
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/kubectl/kubectl.plugin.zsh
View file @
4fc570b0
...
...
@@ -14,7 +14,7 @@ fi
alias
k
=
kubectl
# Execute a kubectl command against all namespaces
alias
kca
=
'
f
(){ kubectl "$@" --all-namespaces; unset -f
f
; };
f
'
alias
kca
=
'
_kca
(){ kubectl "$@" --all-namespaces; unset -f
_kca
; };
_kca
'
# Apply a YML file
alias
kaf
=
'kubectl apply -f'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment