cloudapp: fix permissions of credentials file

Fixes #4151
pull/7749/head
Marc Cornellà 2019-04-08 22:19:25 +02:00 committed by GitHub
parent 482587ccc1
commit 0c000af721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -1,2 +1,6 @@
#!/bin/zsh
alias cloudapp=$ZSH/plugins/cloudapp/cloudapp.rb
alias cloudapp="${0:a:h}/cloudapp.rb"
# Ensure only the owner can access the credentials file
if [[ -f ~/.cloudapp ]]; then
chmod 600 ~/.cloudapp
fi