mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 14:35:37 +00:00
abbreviations for docker and gh
This commit is contained in:
parent
639f93a762
commit
1f66344d55
@ -38,7 +38,7 @@ function aliases --description 'All aliases'
|
|||||||
abbr -a gm 'git merge'
|
abbr -a gm 'git merge'
|
||||||
abbr -a gmf 'git-merge-fuzzy'
|
abbr -a gmf 'git-merge-fuzzy'
|
||||||
abbr -a gcp 'git cherry-pick'
|
abbr -a gcp 'git cherry-pick'
|
||||||
abbr -a ghb 'gh repo view -w'
|
abbr -a ghr 'gh repo view -w'
|
||||||
|
|
||||||
# Vim
|
# Vim
|
||||||
abbr -a v 'vim'
|
abbr -a v 'vim'
|
||||||
@ -83,6 +83,8 @@ function aliases --description 'All aliases'
|
|||||||
abbr -a db 'docker build . -t'
|
abbr -a db 'docker build . -t'
|
||||||
abbr -a ds 'docker ps -a'
|
abbr -a ds 'docker ps -a'
|
||||||
abbr -a de 'docker exec -it'
|
abbr -a de 'docker exec -it'
|
||||||
|
abbr -a dpy 'docker run --rm -it -v $PWD:/project python:alpine python'
|
||||||
|
abbr -a alp 'docker run --rm -it -v $PWD:/project alpine sh'
|
||||||
alias connect='docker run --rm -v ~/.aws:/root/.aws -v ~/.ssh:/root/.ssh -it connect-aws'
|
alias connect='docker run --rm -v ~/.aws:/root/.aws -v ~/.ssh:/root/.ssh -it connect-aws'
|
||||||
|
|
||||||
# Terraform
|
# Terraform
|
||||||
@ -97,7 +99,6 @@ function aliases --description 'All aliases'
|
|||||||
|
|
||||||
# Python
|
# Python
|
||||||
abbr -a py 'python'
|
abbr -a py 'python'
|
||||||
abbr -a dpy 'docker run --rm -it -v $PWD:/project python:alpine python'
|
|
||||||
abbr -a po 'poetry'
|
abbr -a po 'poetry'
|
||||||
abbr -a pr 'poetry run python'
|
abbr -a pr 'poetry run python'
|
||||||
abbr -a pl 'poetry run pylint *'
|
abbr -a pl 'poetry run pylint *'
|
||||||
|
Loading…
Reference in New Issue
Block a user