listingspolt.blogg.se

Install dotbot
Install dotbot









install dotbot

Now, when you open your terminal, you should see your custom plugins and theme are applied and working. This will fetch any bundles that are not already on your system as well. Antigen includes all the themes from Oh My ZSH automatically, but if you want to use another one, it can also load other themes as well, just like the bundle command.įinally, to actually get the plugins and load them into ZSH, you run antigen apply. The antigen theme command is used to set which theme is being used for ZSH.

install dotbot

Certainly useful, because for some reason, the macOS specific commands weren't running on my linux install. The uname command is used to figure out which OS is running, then the switch case includes the proper bundles for that system. Linux ) # Commands for Linux go here esac # Do OS dependant stuff case ` uname ` in Let's look at my config to see how it works. Antigen makes managing your ZSH configuration simple. If you are one of those people though, I would definitely suggest checking out Oh My ZSH.Īnd now for Antigen. If you don't use ZSH as your shell (which you should), this doesn't apply to you. Oh, and that " => All tasks executed successfully" line at the bottom? That means everything worked, and you are good to go with your dotfiles! If you get an error message instead, I would suggest checking out the Dotbot repo and getting your issues fixed before moving on to the next part.Īnd now begins part 2. Installing submodules Īs you can see, Dotbot is relatively verbose in letting you know what's going on. Link exists ~/.aliases -> /Users/josiah/dotfiles/shell/.aliases Link exists ~/.eslintrc -> /Users/josiah/dotfiles/linters/.eslintrc Link exists ~/.zshrc -> /Users/josiah/dotfiles/shell/.zshrc Link exists ~/.gitignore -> /Users/josiah/dotfiles/git/.gitignore Link exists ~/.zazurc.json -> /Users/josiah/dotfiles/applications/.zazurc.json Link exists ~/.gitconfig -> /Users/josiah/dotfiles/git/.gitconfig

install dotbot

Link exists ~/.functions -> /Users/josiah/dotfiles/shell/.functions Link exists ~/.hammerspoon -> /Users/josiah/dotfiles/applications/.hammerspoon Now that your Dotbot config is complete, let's go ahead and run it. More info about the defaults, as well as additional options for the other commands can be found in the Dotbot readme. This lets you set default options for other commands. At some point in the future, I may also add another file of terminal commands to run to configure certain parts of my OS.įinally is the defaults section. In my config, I have it installing/updating submodules.

#INSTALL DOTBOT INSTALL#

Optionally, you can pass in an array with the command, as well as a short description that will be displayed as the command is run while executing the install command. You can pass the shell section a list of commands to run on install. The next section that is useful for configuration is the shell section. If you want, you could link folders in addition to files. To setup a link, specify where the symbolic link itself should go, followed by where it should link to. The link section is where most of the good stuff happens. Here, I have it cleaning out my home folder. It will check an array of directories for dead or broken links, and remove them. The clean section is relatively self explanitory. ~/.zazurc.json : applications/.zazurc.json # Apps ~/.hammerspoon : applications/.hammerspoon # Linters ~/.eslintrc : linters/.eslintrc # - defaults : link : relink : true - clean : - link : # Shell stuff ~/.aliases : shell/.aliases











Install dotbot