Make ssh keyfile permissions sane on windows

This commit is contained in:
Cyryl Płotnicki 2016-11-13 19:59:53 +01:00
parent 3086a292c4
commit 7d5472627e
3 changed files with 4 additions and 2 deletions

View file

@ -74,9 +74,7 @@ fi
TMPPREFIX="${TMPDIR%/}/zsh"
# stuff that checks if it's added to the .zshrc exipliclty
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# other common env vars
source ~/.setenv

2
.zshrc
View file

@ -41,3 +41,5 @@ if [[ `uname` =~ 'CYGWIN.*' ]]; then
fi
alias benice="ionice -c3 nice -n20"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

View file

@ -2,6 +2,8 @@
set -e
chmod ao-rwx ~/.ssh/id_rsa
DOTFILES_PATH="$HOME/dev/dotfiles"
mkdir -pv $HOME/dev/
ln -vfs "$OUTER_CLONE/.gitconfig.cygwin" $HOME/.gitconfig