This file contains 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
#!/usr/bin/env bash | |
cat << EOF > ~/.zshrc | |
function git_branch_name() { | |
branch=$(git symbolic-ref HEAD 2> /dev/null | awk 'BEGIN{FS="/"} {print $NF}') | |
if [[ $branch == "" ]]; | |
then | |
: | |
else | |
echo ' ['$branch']' |
This file contains 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
{ | |
"$schema": "https://zed.dev/schema/themes/v0.1.0.json", | |
"name": "Cyberpunk", | |
"author": "Ryan Olson", | |
"themes": [ | |
{ | |
"name": "Cyberpunk", | |
"appearance": "dark", | |
"style": { | |
"elevated_surface.background": "#011627", |
This file contains 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
{ | |
"editor.bracketPairColorization.enabled": false, | |
"editor.codeActionsOnSave": { "source.fixAll.eslint": "always" }, | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.fontSize": 14, | |
"editor.formatOnSave": true, | |
"editor.guides.indentation": false, | |
"editor.matchBrackets": "near", | |
"editor.minimap.enabled": false, | |
"editor.occurrencesHighlight": "off", |
This file contains 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
# Install brew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Configure Git | |
git config --global user.name "Ryan Olson" | |
git config --global user.email [email protected] | |
git config --global core.autocrlf input | |
touch ~/.gitignore | |
git config --global core.excludesFile ~/.gitignore |
This file contains 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
#!/usr/bin/env bash | |
set -e | |
echo 'set ai et sts=2 sw=2 dir=/tmp bdir=/tmp bs=2' > ~/.vimrc | |
echo 'export PATH="$PATH":"$HOME/bin"' > ~/.zshrc | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash |
This file contains 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
#!/usr/bin/env bash -e | |
echo "Setting up dotfiles..." | |
echo 'unbind C-b | |
set -g prefix ` | |
bind-key ` last-window | |
bind-key e send-prefix | |
set -g default-terminal "screen-256color" | |
set -g escape-time 0 |
This file contains 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/bash -e | |
echo 'alias ls="ls -FA" | |
export EDITOR=vim | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | |
export PATH="$PATH":"/usr/local/bin":"$HOME/bin"' > ~/.zshrc |