mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Adds aliases, secrets, and variables files for customization
This commit is contained in:
parent
61e3951e4b
commit
3537af0048
10 changed files with 99 additions and 34 deletions
15
setup.sh
Executable file
15
setup.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
brew update
|
||||
brew upgrade
|
||||
brew install `cat homebrew_packages.txt`
|
||||
|
||||
[ ! -f ~/.zshrc ] && cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
|
||||
[ ! -f ~/.variables ] && cp ~/.oh-my-zsh/templates/variables.zsh-template ~/.variables
|
||||
[ ! -f ~/.aliases ] && cp ~/.oh-my-zsh/templates/aliases.zsh-template ~/.aliases
|
||||
[ ! -f ~/.secrets ] && cp ~/.oh-my-zsh/templates/secrets.zsh-template ~/.secrets
|
||||
[ ! -f ~/.customizations ] && cp ~/.oh-my-zsh/templates/customizations.zsh-template ~/.customizations
|
||||
[ ! -f ~/.gemrc] && cp ~/.oh-my-zsh/templates/gemrc.zsh-template ~/.gemrc
|
||||
|
||||
echo "/usr/local/bin/zsh" >> /etc/shells # TODO grep to ensure that this line isn't there before appending it
|
||||
chsh -s /usr/local/bin/zsh `whoami`
|
||||
Loading…
Add table
Add a link
Reference in a new issue