ChrisTowles / dotfiles

zshrc, bash script and terminal And Personal config files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chris's DotFiles

Description

Opinionated setup I use on my machine for things like terminal and dot files like .zshrc.

Install basic preprecs

  • git
  • vscode
  • terminal
    • iTerm2 on mac

Linux

ubuntu notes

Setup ZSH alialas

# clone dotfiles repo locally
cd ~
mkdir -p ~/code/p
cd ~/code/p
git clone https://github.com/ChrisTowles/dotfiles.git
cd dotfiles

Link a few files from the repo to home directory

# make symbolic link for .zshrc
cd ~/
mv .zshrc .zshrc.old
ln -s $HOME/code/p/dotfiles/.zshrc $HOME/.zshrc

local only scripts

# create a per machine only file, Also I also use this to load additional scripts from a private repo.
touch $HOME/.zshrc_local

# switch back to previous .zshrc file
rm ~/.zshrc
mv ~/.zshrc.old ~/.zshrc

Terminal shell - ZSH

VsCode Extensions

Full List of used Extensions

Mac Apps

  • xcode

    •   xcode-select -p
        # If you get a path back (like /Applications/Xcode.app/Contents/Developer) then you're good to go
      
        # Otherwise to install
        xcode-select --install
  • brew

    • # install brew
      /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
      
      brew doctor
      
      brew update
  • git

    • brew install git
  • zsh

    • brew install zsh
      
      # change default shell to zsh
      chsh -s /usr/local/bin/zsh
  • Iterm2

    • # install iterm2
      brew install iterm2 --cask
  • oh my zsh

    • # install oh my zsh
      sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  • Nerd Fonts

    • # install nerd fonts
      brew tap homebrew/cask-fonts
      brew install --cask font-hack-nerd-font
    • Now in iterm2 go to Preferences > Profiles > Text and set the font to Hack Nerd Font
  • Monosnap

  • Copyq - clipboard manager

    • setup autostart and keybinding
  • Magnet - window manager

  • vscode insiders - make "code" as open "code-insiders" that other apps can pickup instead of a bash alias.

cd /usr/local/bin
ls
sudo unlink code
sudo ln -s "/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/bin/code" code

Todo

Look into Powerlevel10k vs Spaceship. Currently, using Spaceship and loving it.

Linux Apps

  • Copyq

Windows

  • WSL
  • Ditto clipborard manager
  • ninite

History

So I have a private repo I've been using to backup my .zshrc and other common scripts but recently when rebuilding my home computer I thought I copy Anthony Fu and his dotfiles repo and made mine public.

About

zshrc, bash script and terminal And Personal config files

License:MIT License


Languages

Language:TypeScript 59.0%Language:Shell 40.8%Language:JavaScript 0.2%