Automatically configure zshrc

This commit is contained in:
Laura Hausmann 2023-02-18 02:09:36 +01:00
parent 745e881e66
commit 15d9f14048
Signed by untrusted user: zotan
GPG key ID: D044E84C5BE01605
2 changed files with 4 additions and 1 deletions

View file

@ -10,7 +10,7 @@ if type brew &>/dev/null; then
fi
checkin () {
curl -H 'Authorization: Bearer replaceme_with_secret' -d '{"reason": "ping", "status": {"checkedIn": true, "train": {"type": "'$1'", "no": "'$2'"}, "toStation": {"name": "'$3'"}}}' https://zotan.pw/travelynx.php
curl -H 'Authorization: Bearer replace_me_with_secret' -d '{"reason": "ping", "status": {"checkedIn": true, "train": {"type": "'$1'", "no": "'$2'"}, "toStation": {"name": "'$3'"}}}' https://zotan.pw/travelynx.php
}
# system tool aliases

View file

@ -57,6 +57,9 @@ echo "**/.DS_Store" >> ~/.gitignore_global
echo "**/._.DS_Store" >> ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
echo "Configuring zshrc"
curl -L ztn.sh/macx-resources/zshrc >> ~/.zshrc
echo "Installing prezto"
rm ~/.zprofile
curl -L share.zotan.services/prezto.sh | zsh