mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-16 14:33:41 +02:00
update aws
This commit is contained in:
parent
24c8d3d1cb
commit
8bd63f012c
2 changed files with 21 additions and 0 deletions
11
dot_config/fish/functions/fish_aws_profile.fish
Normal file
11
dot_config/fish/functions/fish_aws_profile.fish
Normal file
|
@ -0,0 +1,11 @@
|
|||
function fish_aws_profile
|
||||
if test (count $argv) -eq 0
|
||||
set -e AWS_PROFILE
|
||||
echo "AWS profile cleared"
|
||||
return 0
|
||||
end
|
||||
|
||||
set -gx AWS_PROFILE $argv[1]
|
||||
echo "AWS profile set to $AWS_PROFILE"
|
||||
end
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue