-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zsh_abbrs
47 lines (44 loc) · 1.15 KB
/
.zsh_abbrs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
abbr -S l='exa -F'
abbr -S ll='exa -Fl'
abbr -S la='exa -Fa'
abbr -S lla='exa -Fla'
abbr -S v='vim'
abbr -S g='git'
abbr -S b='bat'
abbr -S venv='source venv/bin/activate'
abbr -S ra='rails'
abbr -S gr='grep'
abbr -S k='kubectl'
abbr -S t='tmux'
abbr -S mk='make'
# docker
abbr -S d='docker'
abbr -S dps='docker container ls'
abbr -S dimgs='docker image ls'
abbr -S drun='docker container run'
abbr -S dcd='docker compose -d'
# docker-compose
# abbr -S dc='docker compose' dcというコマンドが既にあり設定できない
abbr -S dcom='docker compose'
abbr -S dcec='docker compose exec'
abbr -S dcup='docker compose up'
abbr -S dcdn='docker compose down'
abbr -S dcrm='docker compose rm'
abbr -S dcrn='docker compose run'
abbr -S dcps='docker compose ps'
# git
abbr -S ga='git add'
abbr -S gacm='git add -A && git commit'
abbr -S gst='git status'
abbr -S gbr='git branch'
abbr -S gcm='git commit'
abbr -S gco='git checkout'
abbr -S gdf='git diff'
abbr -S gl='git log'
abbr -S ggr='git grep'
abbr -S gul='git pull'
abbr -S gsw='git switch'
abbr -S gush='git push'
abbr -S gget='ghq get'
abbr -S gestr='git restore'
abbr -S gcmpr='gh pr list --state all --web --search'