The structure and many (most?) of the files in this repository are forked from Zach Holman's dotfiles. See his post on the subject.
Everything's built around topic areas. If you're adding a new area to your
forked dotfiles — say, "Java" — you can simply add a java
directory and put
files in there. Anything with an extension of .zsh
will get automatically
included into your shell. Anything with an extension of .symlink
will get
symlinked without extension into $HOME
when you run script/bootstrap
.
There's a few special files in the hierarchy.
bin/
will get added to your $PATH
and be made
available everywhere..zsh
get loaded into your
environment.path.zsh
is loaded first and is
expected to setup $PATH
or similar.completion.zsh
is loaded
last and is expected to setup autocomplete.*.symlink
get symlinked into
your $HOME
. This is so you can keep all of those versioned in your dotfiles
but still keep those autoloaded files in your home directory. These get
symlinked in when you run script/bootstrap
.Run this:
git clone https://github.com/jeremyfelt/dotfiles.git ~/dotfiles
cd ~/dotfiles
script/bootstrap
This will symlink the appropriate files in dotfiles
to your home directory.
Everything is configured and tweaked within ~/dotfiles
.
The main file you'll want to change right off the bat is zsh/zshrc.symlink
,
which sets up a few paths that'll be different on your particular machine.
dot
is a simple script that installs some dependencies, sets sane OS X
defaults, and so on. Tweak this script, and occasionally run dot
from
time to time to keep your environment fresh and up-to-date. You can find
this script in bin/
.
reload!
is included to re-source new aliases, etc...
code --install-extension azemoh.one-monokai
code --install-extension bmewburn.vscode-intelephense-client
code --install-extension johnbillion.vscode-wordpress-hooks
code --install-extension xdebug.php-debug
valet install
(defaults to PHP 8.3)valet use php@8.2
brew services start mariadb
~/Development
directory, run valet park
- subdirectories will now workvalet secure
inside one of the subdirectories and certificates will be installed.xcode-select --install
was supposed to take care of things, but it likely does cd /usrnot. /shrugzsh compinit: insecure directories, run compaudit for list.
compaudit
was told that /usr/local/share/zsh
was insecure.sudo chmod -R 755 /usr/local/share/zsh
, which removed the group write permissions, and it stopped showing in compaudit
.sudo chmod -R 755 /usr/local/share/zsh/site-functions
, but failed to check permissions or compaudit
beforehand._complete:96: bad math expression: operand expected at end of string
) was resolved as well.ls
didn't work after a brew upgrade
updated Python
zsh: /opt/homebrew/bin/grc: bad interpreter: /opt/homebrew/opt/python@3.10/bin/python3: no such file or directory
brew uninstall grc
and brew install grc
and it worked.