mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-20 16:21:00 +01:00
Compare commits
2 Commits
6ef47526f8
...
95ef251669
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
95ef251669 | ||
|
|
658240f498 |
@@ -23,3 +23,4 @@ plugins=(... dotnet)
|
|||||||
| dp | dotnet pack | Create a NuGet package. |
|
| dp | dotnet pack | Create a NuGet package. |
|
||||||
| dng | dotnet nuget | Provides additional NuGet commands. |
|
| dng | dotnet nuget | Provides additional NuGet commands. |
|
||||||
| db | dotnet build | Build a .NET project |
|
| db | dotnet build | Build a .NET project |
|
||||||
|
| dres | dotnet restore | Restore dependencies and project-specific tools for a project. |
|
||||||
@@ -24,3 +24,4 @@ alias da='dotnet add'
|
|||||||
alias dp='dotnet pack'
|
alias dp='dotnet pack'
|
||||||
alias dng='dotnet nuget'
|
alias dng='dotnet nuget'
|
||||||
alias db='dotnet build'
|
alias db='dotnet build'
|
||||||
|
alias dres='dotnet restore'
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ plugins=(... kubectl)
|
|||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
| :------- | :------------------------------------------------- | :----------------------------------------------------------------------------------------------- |
|
| :------- | :------------------------------------------------------ | :----------------------------------------------------------------------------------------------- |
|
||||||
| k | `kubectl` | The kubectl command |
|
| k | `kubectl` | The kubectl command |
|
||||||
| kca | `kubectl --all-namespaces` | The kubectl command targeting all namespaces |
|
| kca | `kubectl --all-namespaces` | The kubectl command targeting all namespaces |
|
||||||
| kaf | `kubectl apply -f` | Apply a YML file |
|
| kaf | `kubectl apply -f` | Apply a YML file |
|
||||||
@@ -26,6 +26,8 @@ plugins=(... kubectl)
|
|||||||
| | | **General aliases** |
|
| | | **General aliases** |
|
||||||
| kdel | `kubectl delete` | Delete resources by filenames, stdin, resources and names, or by resources and label selector |
|
| kdel | `kubectl delete` | Delete resources by filenames, stdin, resources and names, or by resources and label selector |
|
||||||
| kdelf | `kubectl delete -f` | Delete a pod using the type and name specified in -f argument |
|
| kdelf | `kubectl delete -f` | Delete a pod using the type and name specified in -f argument |
|
||||||
|
| kge | `kubectl get events --sort-by=".lastTimestamp"` | Get events (sorted by timestamp) |
|
||||||
|
| kgew | `kubectl get events --watch --sort-by=".lastTimestamp"` | Get events and watch as they occur (sorted by timestamp) |
|
||||||
| | | **Pod management** |
|
| | | **Pod management** |
|
||||||
| kgp | `kubectl get pods` | List all pods in ps output format |
|
| kgp | `kubectl get pods` | List all pods in ps output format |
|
||||||
| kgpl | `kgp -l` | Get pods by label. Example: `kgpl "app=myapp" -n myns` |
|
| kgpl | `kgp -l` | Get pods by label. Example: `kgpl "app=myapp" -n myns` |
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ 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 kge='kubectl get events --sort-by=".lastTimestamp"'
|
||||||
|
alias kgew='kubectl get events --sort-by=".lastTimestamp" --watch'
|
||||||
|
|
||||||
# Pod management.
|
# Pod management.
|
||||||
alias kgp='kubectl get pods'
|
alias kgp='kubectl get pods'
|
||||||
|
|||||||
Reference in New Issue
Block a user