Skip to content

Commit

Permalink
dirawsのエイリアスをdawsまで短縮
Browse files Browse the repository at this point in the history
  • Loading branch information
minamijoyo committed Jul 1, 2020
1 parent 38f40fe commit 7b9dd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ alias ja='(){ aws --profile minamijoyo translate translate-text --source-languag
alias ave='(){ aws-vault exec --duration=1h $@ }'
alias avl='(){ open -na "Google Chrome" --args --incognito --user-data-dir=$HOME/Library/Application\ Support/Google/Chrome/aws-vault/$@ $(aws-vault login --duration=1h $@ --stdout) }'
alias dr="direnv reload"
alias diraws='(){ echo "source_up; use aws_profile $@" > .envrc && direnv allow }'
alias daws='(){ echo "source_up; use aws_profile $@" > .envrc && direnv allow }'

# 環境変数の管理にdirenvを使う
eval "$(direnv hook zsh)"
Expand Down

0 comments on commit 7b9dd1d

Please sign in to comment.