mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-14 22:47:45 +08:00
Compare commits
4 Commits
1c8dee848d
...
8be4789bbb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8be4789bbb | ||
|
|
cb7ff9fb14 | ||
|
|
11b0ea33d1 | ||
|
|
15479ca5ae |
@ -70,6 +70,7 @@ plugins=(... git)
|
||||
| `gca!` | `git commit --verbose --all --amend` |
|
||||
| `gcan!` | `git commit --verbose --all --no-edit --amend` |
|
||||
| `gcans!` | `git commit --verbose --all --signoff --no-edit --amend` |
|
||||
| `gcann!` | `git commit --verbose --all --date=now --no-edit --amend` |
|
||||
| `gc!` | `git commit --verbose --amend` |
|
||||
| `gcn!` | `git commit --verbose --no-edit --amend` |
|
||||
| `gcs` | `git commit -S` |
|
||||
|
||||
@ -194,6 +194,7 @@ alias gca='git commit --verbose --all'
|
||||
alias gca!='git commit --verbose --all --amend'
|
||||
alias gcan!='git commit --verbose --all --no-edit --amend'
|
||||
alias gcans!='git commit --verbose --all --signoff --no-edit --amend'
|
||||
alias gcann!='git commit --verbose --all --date=now --no-edit --amend'
|
||||
alias gc!='git commit --verbose --amend'
|
||||
alias gcn!='git commit --verbose --no-edit --amend'
|
||||
alias gcf='git config --list'
|
||||
@ -353,6 +354,8 @@ alias grss='git restore --source'
|
||||
alias grst='git restore --staged'
|
||||
alias gunwip='git rev-list --max-count=1 --format="%s" HEAD | grep -q "\--wip--" && git reset HEAD~1'
|
||||
alias grev='git revert'
|
||||
alias greva='git revert --abort'
|
||||
alias grevc='git revert --continue'
|
||||
alias grm='git rm'
|
||||
alias grmc='git rm --cached'
|
||||
alias gcount='git shortlog --summary --numbered'
|
||||
|
||||
@ -10,9 +10,10 @@ plugins=(... helm)
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias | Full command |
|
||||
| ----- | ------------ |
|
||||
| h | helm |
|
||||
| hin | helm install |
|
||||
| hse | helm search |
|
||||
| hup | helm upgrade |
|
||||
| Alias | Full command |
|
||||
| ----- | -------------- |
|
||||
| h | helm |
|
||||
| hin | helm install |
|
||||
| hun | helm uninstall |
|
||||
| hse | helm search |
|
||||
| hup | helm upgrade |
|
||||
|
||||
@ -14,5 +14,6 @@ fi
|
||||
|
||||
alias h='helm'
|
||||
alias hin='helm install'
|
||||
alias hun='helm uninstall'
|
||||
alias hse='helm search'
|
||||
alias hup='helm upgrade'
|
||||
|
||||
@ -44,7 +44,7 @@ function pyuserpaths() {
|
||||
alias pygrep='grep -nr --include="*.py"'
|
||||
|
||||
# Run proper IPython regarding current virtualenv (if any)
|
||||
alias ipython="python3 -c 'import IPython; IPython.terminal.ipapp.launch_new_instance()'"
|
||||
alias ipython='python3 -c "import IPython, sys; sys.exit(IPython.start_ipython())"'
|
||||
|
||||
# Share local directory as a HTTP server
|
||||
alias pyserver="python3 -m http.server"
|
||||
|
||||
@ -26,6 +26,9 @@ plugins=(... terraform)
|
||||
| `tfo` | `terraform output` |
|
||||
| `tfp` | `terraform plan` |
|
||||
| `tfv` | `terraform validate` |
|
||||
| `tfs` | `terraform state` |
|
||||
| `tfsh`| `terraform show` |
|
||||
|
||||
|
||||
## Prompt function
|
||||
|
||||
|
||||
@ -24,3 +24,5 @@ alias tfi='terraform init'
|
||||
alias tfo='terraform output'
|
||||
alias tfp='terraform plan'
|
||||
alias tfv='terraform validate'
|
||||
alias tfs='terraform state'
|
||||
alias tfsh='terraform show'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user