Install fresh with the following:
bash -c "`curl -sL get.freshshell.com`"
Don't want to run our shell script? The installation is simple:
git clone https://github.com/freshshell/fresh ~/.fresh/source/freshshell/fresh
echo "fresh freshshell/fresh bin/fresh --bin" >> ~/.freshrc
~/.fresh/source/freshshell/fresh/bin/fresh # run fresh
# Add `source ~/.fresh/build/shell.sh` to your shell config.
If no repo is specified fresh will look for local files relative to ~/.dotfiles/
.
For example the following fresh line will look for ~/.dotfiles/aliases/git.sh
.
fresh aliases/git.sh
With no options, fresh will join specified shell files together.
fresh twe4ked/dotfiles aliases/git.sh
fresh jasoncodes/dotfiles 'aliases/*'
Joins the aliases/git
file from [twe4ked/dotfiles] with the aliases/*
files
from [jasoncodes/dotfiles] into ~/.fresh/build/shell.sh
.
fresh twe4ked/dotfiles config/ackrc --file
fresh example/dotfiles pry.rb --file=~/.pryrc
Links the config/ackrc
file from [twe4ked/dotfiles] to ~/.ackrc
and the pry.rb
file from example/dotfiles to ~/.pryrc
.
fresh jasoncodes/dotfiles tmux.conf --file
fresh twe4ked/dotfiles config/tmux.conf --file
Builds tmux configuration from both [jasoncodes/dotfiles] and [twe4ked/dotfiles]
together into a single ~/.tmux.conf
output.