fitzypop / dotfiles

Fitzypop's Dotfile Repo for Pop!_OS and macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fitzypop's Dotfiles and config files

My various config files, fonts, icons, and other things I need across systems.

Terminal Image

My setup and tools:

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

Once you install vscode, run this command to install extensions: make vsc-ext

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 <this repo> .dotfiles

#linux
apt install -y stow

cd $HOME/.dotfiles
stow .
# macOS Specific installation

# install xcode cli tools: need git installed
xcode-select --install

# clone repo to dotfiles dir
git clone git@github.com:joefitzy/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 install just
just brewinstall

# install virtualenv
pipx install virtualenv

# 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)

Troubleshooting

Alacritty

You might need to make a symlink to your fish install like this:

ln -s <current_fish_locaation> /usr/local/bin/fish

N

If you want to avoid using sudo with n all the time: run these commands in your shell.

# make cache folder (if missing) and take ownership
sudo mkdir -p /usr/local/n
sudo chown -R $(whoami) /usr/local/n
# make sure the required folders exist (safe to execute even if they already exist)
sudo mkdir -p /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share
# take ownership of Node.js install destination folders
sudo chown -R $(whoami) /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share

About

Fitzypop's Dotfile Repo for Pop!_OS and macOS


Languages

Language:Shell 71.8%Language:Lua 25.1%Language:Python 1.6%Language:Vim Script 0.8%Language:Ruby 0.4%Language:Just 0.2%Language:Nushell 0.1%