Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fitzy1321/dotfiles
Fitzy's Dotfile Repo for Pop!_OS and macOS
https://github.com/fitzy1321/dotfiles
alacritty dotfiles dotfiles-linux fish-shell gnu-stow gnustow homebrew kitty linux linux-dotfiles macos macos-dotfiles pop-os starship stow
Last synced: about 5 hours ago
JSON representation
Fitzy's Dotfile Repo for Pop!_OS and macOS
- Host: GitHub
- URL: https://github.com/fitzy1321/dotfiles
- Owner: fitzy1321
- License: mit
- Created: 2020-06-10T01:56:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T07:22:31.000Z (12 days ago)
- Last Synced: 2024-11-07T08:25:42.085Z (12 days ago)
- Topics: alacritty, dotfiles, dotfiles-linux, fish-shell, gnu-stow, gnustow, homebrew, kitty, linux, linux-dotfiles, macos, macos-dotfiles, pop-os, starship, stow
- Language: Shell
- Homepage:
- Size: 33.3 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fitzy's Dotfiles and config files
My various config files, fonts, icons, and other things I need across systems.
![Terminal Image](/assets/terminal.png "My terminal image")
My setup and tools:
- Terminal: [Kitty](https://github.com/kovidgoyal/kitty), previously [Alacritty](https://github.com/alacritty/alacritty)
- Prompt: [Starship](https://starship.rs/)
- Shell: [Fish](https://fishshell.com/)
- Text Editors: [VS Code](https://code.visualstudio.com/) and [Neovim](https://github.com/neovim/neovim)
- Fonts: [Nerd Fonts](https://www.nerdfonts.com/) (FiraCode and Hack)
- Dotfiles Management: [GNU Stow](https://www.gnu.org/software/stow/)## Branches
You must switch branch for your respective OS.
`main` is for Linux and MacOS, mainly Pop!_OS/Ubuntu/macOS. Anything with apt or homebrew.
`windows` is for windows.
## Installation
Clone this repo and run these commands to create my dev workflow. My recommendation is clone this repo into `$HOME/.dotfiles` like this
```git clone .dotfiles```
```shell
#linux
apt install -y stowcd $HOME/.dotfiles
stow .
``````sh
# macOS Specific installation# install xcode cli tools: need git installed
xcode-select --install# clone repo to dotfiles dir
git clone [email protected]:fitzy1321/dotfiles.git $HOME/.dotfiles# Move into dotfiles dir
cd $HOME/.dotfiles# install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"# install packages from brewfile
brew update && brew bundle install --no-lock --file {{root_dir}}/Brewfile# use gnu stow to manage symlinks for dotfiles
# must be in $HOME/.dotfiles directory
stow .# change shell to fish
# For mac, add fish path to `/etc/shells` file.
chsh -s $(which fish)# install uv for python. make sure you have python and pip first
# for macos
curl -LsSf https://astral.sh/uv/install.sh | sh
# or
pipx install uv
```## ASDF
Let's try out asdf
Do not activate / use while `mise` is active in your shell.
I'm not sure what exactly would happen, but I imagine having 2 shell package managers active would cause all sorts of problems.Just comment out one or the other lines in `/.config/fish/config.fish`
```sh
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0# add to fish/config.fish
source ~/.asdf/asdf.fish
# close file# fish shell completions
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions# add nodejs plugin
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git# install a version
asdf install nodejs latest
```## Mise
Do not activate / use while `asdf` is active in your shell.
I'm not sure what exactly would happen, but I imagine having 2 shell package managers active would cause all sorts of problems.Just comment out one or the other lines in `/.config/fish/config.fish`
```sh
curl https://mise.run | shmise activate fish | source
mise use --global node
## need `usage` to use shell completions
mise use -g usage
# or
cargo install usage-cli
# or
brew install usage
``````fish
# add this to shell config file
type -q mise; and mise activate fish | source
```## Troubleshooting
### Alacritty
You might need to make a symlink to your fish install like this:
```sh
ln -s /usr/local/bin/fish
```