mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-10-16 11:40:46 +00:00
Compare commits
4 commits
0ed2acc7fa
...
d8595e1272
Author | SHA1 | Date | |
---|---|---|---|
|
d8595e1272 | ||
|
367e9381df | ||
|
4963f830cd | ||
|
6f65f6807e |
2 changed files with 2 additions and 1 deletions
|
@ -163,7 +163,7 @@ function git_current_branch() {
|
|||
}
|
||||
|
||||
# Outputs the name of the previously checked out branch
|
||||
# Usage example: git pull origin $(git_current_branch)
|
||||
# Usage example: git pull origin $(git_previous_branch)
|
||||
# rev-parse --symbolic-full-name @{-1} only prints if it is a branch
|
||||
function git_previous_branch() {
|
||||
local ref
|
||||
|
|
|
@ -82,6 +82,7 @@ alias kdelcm='kubectl delete configmap'
|
|||
|
||||
# Secret management
|
||||
alias kgsec='kubectl get secret'
|
||||
alias kesec='kubectl edit secret'
|
||||
alias kgseca='kubectl get secret --all-namespaces'
|
||||
alias kdsec='kubectl describe secret'
|
||||
alias kdelsec='kubectl delete secret'
|
||||
|
|
Loading…
Reference in a new issue