Make ssh keyfile permissions sane on windows
This commit is contained in:
parent
3086a292c4
commit
7d5472627e
3 changed files with 4 additions and 2 deletions
|
@ -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
2
.zshrc
|
@ -41,3 +41,5 @@ if [[ `uname` =~ 'CYGWIN.*' ]]; then
|
|||
fi
|
||||
|
||||
alias benice="ionice -c3 nice -n20"
|
||||
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue