Last active
June 21, 2022 07:09
-
-
Save kotashiratsuka/7bee5455b80b573a2b471ca608eccbd4 to your computer and use it in GitHub Desktop.
setup.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
# curl -L https://gist.github.com/kotashiratsuka/7bee5455b80b573a2b471ca608eccbd4/raw | sh | |
cd | |
test .ssh || mkdir -m 700 .ssh | |
( umask 077; touch .ssh/authorized_keys ) | |
curl -L https://github.com/kotashiratsuka.keys | grep ed25519 >> .ssh/authorized_keys | |
type bash >> /dev/null 2>&1 && \ | |
curl -OL https://gist.github.com/kotashiratsuka/9bc60430fb46d586a86806626f0793cc/raw/.bashrc | |
type vim >> /dev/null 2>&1 && \ | |
curl -OL https://gist.github.com/kotashiratsuka/eac44d7e569f3721be5a12b8c221cab6/raw/.vimrc | |
type zsh >> /dev/null 2>&1 && \ | |
curl -OL https://gist.github.com/kotashiratsuka/8b345e37fac98b71cbd6464c027bfe2c/raw/.zprofile | |
type zsh >> /dev/null 2>&1 && \ | |
curl -OL https://gist.github.com/kotashiratsuka/e1480b2dba48c1a85f9b60a3c1850bb5/raw/.zshrc | |
type tmux >> /dev/null 2>&1 && \ | |
curl -OL https://gist.github.com/kotashiratsuka/8b4a17429053f79f75566fadb8bf1d95/raw/.tmux.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment