1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-14 22:47:45 +08:00

Compare commits

...

4 Commits

Author SHA1 Message Date
Mohammad Al Zouabi
8be4789bbb
feat(git): add greva and grevc aliases (#12042) 2024-01-13 18:56:23 +01:00
Mladen Plavsic
cb7ff9fb14
feat(git): add gcann! alias (#12041) 2024-01-13 18:54:56 +01:00
Gautam krishna R
11b0ea33d1
fix(python): add support for cli args (#12159) 2024-01-13 18:47:54 +01:00
reda
15479ca5ae
feat(terraform): add new terraform and helm aliases (#11923) 2024-01-13 12:36:26 +01:00
7 changed files with 18 additions and 7 deletions

View File

@ -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` |

View File

@ -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'

View File

@ -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 |

View File

@ -14,5 +14,6 @@ fi
alias h='helm'
alias hin='helm install'
alias hun='helm uninstall'
alias hse='helm search'
alias hup='helm upgrade'

View File

@ -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"

View File

@ -26,6 +26,9 @@ plugins=(... terraform)
| `tfo` | `terraform output` |
| `tfp` | `terraform plan` |
| `tfv` | `terraform validate` |
| `tfs` | `terraform state` |
| `tfsh`| `terraform show` |
## Prompt function

View File

@ -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'