mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-10-16 11:40:46 +00:00
Compare commits
5 commits
502fd5b493
...
c9c6098aa0
Author | SHA1 | Date | |
---|---|---|---|
|
c9c6098aa0 | ||
|
367e9381df | ||
|
f11cc8fea1 | ||
|
67bdc75bc9 | ||
|
8a396e7c8a |
3 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
certifi==2024.8.30
|
certifi==2024.8.30
|
||||||
charset-normalizer==3.3.2
|
charset-normalizer==3.3.2
|
||||||
idna==3.9
|
idna==3.10
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.2
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
semver==3.0.2
|
semver==3.0.2
|
||||||
|
|
|
@ -163,7 +163,7 @@ function git_current_branch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Outputs the name of the previously checked out 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
|
# rev-parse --symbolic-full-name @{-1} only prints if it is a branch
|
||||||
function git_previous_branch() {
|
function git_previous_branch() {
|
||||||
local ref
|
local ref
|
||||||
|
|
|
@ -36,6 +36,7 @@ alias kcgc='kubectl config get-contexts'
|
||||||
# General aliases
|
# General aliases
|
||||||
alias kdel='kubectl delete'
|
alias kdel='kubectl delete'
|
||||||
alias kdelf='kubectl delete -f'
|
alias kdelf='kubectl delete -f'
|
||||||
|
alias kg=kubectl get
|
||||||
|
|
||||||
# Pod management.
|
# Pod management.
|
||||||
alias kgp='kubectl get pods'
|
alias kgp='kubectl get pods'
|
||||||
|
|
Loading…
Reference in a new issue