-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca7303c
commit d4d5c2d
Showing
3 changed files
with
49 additions
and
7 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
# dotfiles | ||
|
||
This repository contains my dotfiles. I use [GNU Stow](https://www.gnu.org/software/stow/) to manage them. | ||
This repository contains my dotfiles. | ||
|
||
## Usage | ||
## Installation | ||
|
||
```sh | ||
brew install stow | ||
git clone https://github.com/samialdury/dotfiles.git ~/dotfiles | ||
cd ~/dotfiles | ||
make stow | ||
``` | ||
|
||
## Usage | ||
|
||
[USAGE.md](USAGE.md) | ||
|
||
## License | ||
|
||
[MIT](LICENSE) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Usage | ||
|
||
```sh | ||
# Install xcode command line tools | ||
xcode-select --install | ||
|
||
# Install Homebrew | ||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
|
||
# Install fish shell | ||
/opt/homebrew/bin/brew install fish | ||
|
||
# Set fish as default shell | ||
echo "/opt/homebrew/bin/fish" | sudo tee -a /etc/shells | ||
chsh -s /opt/homebrew/bin/fish | ||
|
||
# Open a new terminal window | ||
|
||
# Install brew packages | ||
brew bundle install --file=~/dotfiles/Brewfile | ||
|
||
# Install alacritty theme | ||
mkdir -p ~/.config/alacritty/themes | ||
curl -LO --output-dir ~/.config/alacritty/themes https://github.com/catppuccin/alacritty/raw/main/catppuccin-mocha.toml | ||
|
||
# Install bat theme | ||
mkdir -p ~/.config/bat/themes | ||
curl -LO --output-dir ~/.config/bat/themes https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Mocha.tmTheme | ||
bat cache --build | ||
|
||
# Install delta theme | ||
mkdir -p ~/.config/delta/themes | ||
curl -LO --output-dir ~/.config/delta/themes https://raw.githubusercontent.com/catppuccin/delta/main/catppuccin.gitconfig | ||
|
||
# Symlink config files | ||
cd ~/dotfiles | ||
make stow | ||
|
||
# Set system defaults | ||
make defaults | ||
``` |