Skip to content

Instantly share code, notes, and snippets.

@adamghill
Last active August 25, 2024 13:06
Show Gist options
  • Select an option

  • Save adamghill/d107a729923dff1b6c0aa17c72d1c5ff to your computer and use it in GitHub Desktop.

Select an option

Save adamghill/d107a729923dff1b6c0aa17c72d1c5ff to your computer and use it in GitHub Desktop.

Revisions

  1. adamghill revised this gist Aug 25, 2024. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -13,8 +13,8 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - [Sublime Text 3](https://www.sublimetext.com/): Code editor with all the speed
    - [Notable](https://github.com/notable/notable): Markdown note-taking that doesn't suck
    - [Mark Text](https://marktext.app/): Clean and usable Markdown editor
    - [Firefox](https://www.mozilla.org/en-US/firefox/)
    - [Vivaldi](https://vivaldi.com)
    - [Firefox](https://www.mozilla.org/en-US/firefox/): The original alternative browser
    - [Vivaldi](https://vivaldi.com): Chrome-based alternative with sidebar window management

    # Homebrew
    - Homebrew: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
  2. adamghill revised this gist Aug 25, 2024. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -13,6 +13,8 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - [Sublime Text 3](https://www.sublimetext.com/): Code editor with all the speed
    - [Notable](https://github.com/notable/notable): Markdown note-taking that doesn't suck
    - [Mark Text](https://marktext.app/): Clean and usable Markdown editor
    - [Firefox](https://www.mozilla.org/en-US/firefox/)
    - [Vivaldi](https://vivaldi.com)

    # Homebrew
    - Homebrew: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
    @@ -106,3 +108,4 @@ Config is detailed more extensively in https://gist.github.com/adamghill/6a9690a

    - [Stylus](https://addons.mozilla.org/en-US/firefox/addon/styl-us/)
    - [Hacker News Readable CSS](https://gist.github.com/adamghill/e3f55abb920238e67f10f1dd772667ad)
    - [Refined GitHub](https://github.com/refined-github/refined-github)
  3. adamghill revised this gist May 9, 2024. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -95,7 +95,6 @@ Config is detailed more extensively in https://gist.github.com/adamghill/6a9690a
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
    - [GitHub Theme](https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme)
    - [MyST Markdown](https://marketplace.visualstudio.com/items?itemName=ExecutableBookProject.myst-highlight)
    - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
    - [SQLite](https://marketplace.visualstudio.com/items?itemName=alexcvzz.vscode-sqlite)

    ## Settings
  4. adamghill revised this gist Dec 18, 2023. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -89,6 +89,14 @@ Config is detailed more extensively in https://gist.github.com/adamghill/6a9690a
    - [Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
    - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
    - [Ruff](https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff)
    - [Beautify](https://marketplace.visualstudio.com/items?itemName=HookyQR.beautify)
    - [Code Spell Checker](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker)
    - [Django](https://marketplace.visualstudio.com/items?itemName=batisteo.vscode-django)
    - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
    - [GitHub Theme](https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme)
    - [MyST Markdown](https://marketplace.visualstudio.com/items?itemName=ExecutableBookProject.myst-highlight)
    - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
    - [SQLite](https://marketplace.visualstudio.com/items?itemName=alexcvzz.vscode-sqlite)

    ## Settings
    - https://gist.github.com/adamghill/951058bc5b6fb07f0dcf06904f6597e7
  5. adamghill revised this gist Dec 18, 2023. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -1,18 +1,18 @@
    An opinionated list of things that I tend to do on a clean install of OSX.

    # OSX applications
    - [Sublime Text 3](https://www.sublimetext.com/): Code editor with all the speed
    - [Rectange](https://rectangleapp.com/): Resize and move around windows with the keyboard
    - [Postgres.app](https://postgresapp.com/): Easiest way to run a local Postgres server
    - [VS Code](https://code.visualstudio.com): For when an IDE might actually be useful
    - [1Password7](https://1password.com): Better than a Post-It note stuck to your monitor
    - [iTerm2](https://www.iterm2.com): Terminal replacement
    - [GitUp](http://www.gitup.co): A clean `git` UI
    - [Rectange](https://rectangleapp.com/): Resize and move around windows with the keyboard
    - [DevUtils](https://devutils.app/): Offline toolbox for developers
    - [Mimestream](https://mimestream.com/): Lightweight, native Gmail application
    - [Postico](https://eggerapps.at/postico/): Nicest native Postgres UI client for the Mac
    - [iTerm2](https://www.iterm2.com): Terminal replacement
    - [1Password7](https://1password.com): Better than a Post-It note stuck to your monitor
    - [Postgres.app](https://postgresapp.com/): Easiest way to run a local Postgres server
    - [Sublime Text 3](https://www.sublimetext.com/): Code editor with all the speed
    - [Notable](https://github.com/notable/notable): Markdown note-taking that doesn't suck
    - [Mimestream](https://mimestream.com/): Lightweight, native Gmail application
    - [Mark Text](https://marktext.app/): Clean and usable Markdown editor
    - [DevUtils](https://devutils.app/): Offline toolbox for developers

    # Homebrew
    - Homebrew: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
  6. adamghill revised this gist Dec 13, 2023. 1 changed file with 4 additions and 5 deletions.
    9 changes: 4 additions & 5 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -85,10 +85,10 @@ Config is detailed more extensively in https://gist.github.com/adamghill/6a9690a
    # VS Code

    ## Extensions
    - [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
    - [Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
    - [Python Test Explorer for Visual Studio](https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter)
    - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
    - [Run on Save](https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave)
    - [Ruff](https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff)

    ## Settings
    - https://gist.github.com/adamghill/951058bc5b6fb07f0dcf06904f6597e7
    @@ -97,6 +97,5 @@ Config is detailed more extensively in https://gist.github.com/adamghill/6a9690a

    ## Extensions

    [Stylus](https://addons.mozilla.org/en-US/firefox/addon/styl-us/) - [Hacker News Readable CSS](https://gist.github.com/adamghill/e3f55abb920238e67f10f1dd772667ad)


    - [Stylus](https://addons.mozilla.org/en-US/firefox/addon/styl-us/)
    - [Hacker News Readable CSS](https://gist.github.com/adamghill/e3f55abb920238e67f10f1dd772667ad)
  7. adamghill revised this gist Nov 30, 2023. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -27,8 +27,8 @@ chsh -s /opt/homebrew/bin/fish
    ```

    # Python-related
    - Install latest Python version: `pyenv install 3.9:latest`
    - Install Poetry: `curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - && poetry config virtualenvs.in-project 1`
    - Install latest Python version: `pyenv install 3.11`
    - Install Poetry: `pipx install poetry && poetry config virtualenvs.in-project 1`
    - Install `poethepoet`: `pipx install poethepoet`

    # Git
  8. adamghill revised this gist Nov 30, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -20,7 +20,7 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - `brew install --cask font-hack-nerd-font`
    - `brew install bat lsd pyenv tmux vim fish diff-so-fancy starship pipx node`

    # Install `fish`
    # Make `fish` the default shell
    ```shell
    sudo bash -c 'echo /opt/homebrew/bin/fish >> /etc/shells'
    chsh -s /opt/homebrew/bin/fish
  9. adamghill revised this gist Nov 30, 2023. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -22,8 +22,8 @@ An opinionated list of things that I tend to do on a clean install of OSX.

    # Install `fish`
    ```shell
    sudo bash -c 'echo /usr/local/bin/fish >> /etc/shells'
    chsh -s /usr/local/bin/fish
    sudo bash -c 'echo /opt/homebrew/bin/fish >> /etc/shells'
    chsh -s /opt/homebrew/bin/fish
    ```

    # Python-related
  10. adamghill revised this gist Nov 29, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - [DevUtils](https://devutils.app/): Offline toolbox for developers

    # Homebrew
    - Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - Homebrew: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
    - `brew tap homebrew/cask-fonts`
    - `brew install --cask font-hack-nerd-font`
    - `brew install bat lsd pyenv tmux vim fish diff-so-fancy starship pipx node`
  11. adamghill revised this gist Aug 13, 2022. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -31,6 +31,10 @@ chsh -s /usr/local/bin/fish
    - Install Poetry: `curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - && poetry config virtualenvs.in-project 1`
    - Install `poethepoet`: `pipx install poethepoet`

    # Git

    - `git config --global push.autoSetupRemote true`

    # Files

    ## ~/.gitconfig
  12. adamghill revised this gist May 12, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -27,7 +27,7 @@ chsh -s /usr/local/bin/fish
    ```

    # Python-related
    - Install latest Python version: `pyenv install 3.9.7`
    - Install latest Python version: `pyenv install 3.9:latest`
    - Install Poetry: `curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - && poetry config virtualenvs.in-project 1`
    - Install `poethepoet`: `pipx install poethepoet`

  13. adamghill revised this gist Feb 1, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -17,7 +17,7 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    # Homebrew
    - Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - `brew tap homebrew/cask-fonts`
    - `brew cask install font-hack-nerd-font`
    - `brew install --cask font-hack-nerd-font`
    - `brew install bat lsd pyenv tmux vim fish diff-so-fancy starship pipx node`

    # Install `fish`
  14. adamghill revised this gist Feb 1, 2022. 1 changed file with 14 additions and 0 deletions.
    14 changes: 14 additions & 0 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -20,6 +20,12 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - `brew cask install font-hack-nerd-font`
    - `brew install bat lsd pyenv tmux vim fish diff-so-fancy starship pipx node`

    # Install `fish`
    ```shell
    sudo bash -c 'echo /usr/local/bin/fish >> /etc/shells'
    chsh -s /usr/local/bin/fish
    ```

    # Python-related
    - Install latest Python version: `pyenv install 3.9.7`
    - Install Poetry: `curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - && poetry config virtualenvs.in-project 1`
    @@ -52,6 +58,14 @@ An opinionated list of things that I tend to do on a clean install of OSX.

    ## ~/.config/fish/config.fish
    ```
    function ..
    cd ..
    end
    function cd..
    cd ..
    end
    export PYTHONDONTWRITEBYTECODE=1
    starship init fish | source
  15. adamghill revised this gist Jan 28, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -79,6 +79,6 @@ Config is detailed more extensively in https://gist.github.com/adamghill/6a9690a

    ## Extensions

    [Stylus](https://addons.mozilla.org/en-US/firefox/addon/styl-us/)
    [Stylus](https://addons.mozilla.org/en-US/firefox/addon/styl-us/) - [Hacker News Readable CSS](https://gist.github.com/adamghill/e3f55abb920238e67f10f1dd772667ad)


  16. adamghill revised this gist Jan 28, 2022. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -65,6 +65,7 @@ register-python-argcomplete --shell fish pipx | source
    Config is detailed more extensively in https://gist.github.com/adamghill/6a9690aea3a20f1ce705d7df794ed2f2.

    # VS Code

    ## Extensions
    - [Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
    - [Python Test Explorer for Visual Studio](https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter)
    @@ -73,3 +74,11 @@ Config is detailed more extensively in https://gist.github.com/adamghill/6a9690a

    ## Settings
    - https://gist.github.com/adamghill/951058bc5b6fb07f0dcf06904f6597e7

    # Firefox

    ## Extensions

    [Stylus](https://addons.mozilla.org/en-US/firefox/addon/styl-us/)


  17. adamghill revised this gist Nov 19, 2021. 1 changed file with 2 additions and 8 deletions.
    10 changes: 2 additions & 8 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -21,15 +21,9 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - `brew install bat lsd pyenv tmux vim fish diff-so-fancy starship pipx node`

    # Python-related
    - Install latest Python versions: `pyenv install 3.9.7`
    - Install latest Python version: `pyenv install 3.9.7`
    - Install Poetry: `curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - && poetry config virtualenvs.in-project 1`
    - Install `dj-command`: `pipx install dj-command`

    # Misc

    ## To get `psycopg2` to install correctly
    - `export LDFLAGS="-L/usr/local/opt/openssl/lib"`
    - `export CPPFLAGS="-I/usr/local/opt/openssl/include"`
    - Install `poethepoet`: `pipx install poethepoet`

    # Files

  18. adamghill revised this gist Nov 19, 2021. 1 changed file with 6 additions and 4 deletions.
    10 changes: 6 additions & 4 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -18,11 +18,11 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - `brew tap homebrew/cask-fonts`
    - `brew cask install font-hack-nerd-font`
    - `brew install bat lsd pyenv python3 tmux vim fish diff-so-fancy starship pipx node`
    - `brew install bat lsd pyenv tmux vim fish diff-so-fancy starship pipx node`

    # Python-related
    - Install latest Python versions: `pyenv install 3.6.12 && pyenv install 3.7.9 && pyenv install 3.8.6 && pyenv install 3.9.0`
    - Install Poetry: `curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python && poetry config virtualenvs.in-project 1`
    - Install latest Python versions: `pyenv install 3.9.7`
    - Install Poetry: `curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - && poetry config virtualenvs.in-project 1`
    - Install `dj-command`: `pipx install dj-command`

    # Misc
    @@ -61,7 +61,9 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    export PYTHONDONTWRITEBYTECODE=1
    starship init fish | source
    pyenv init - | source
    status is-login; and pyenv init --path | source
    status is-interactive; and pyenv init - | source
    register-python-argcomplete --shell fish pipx | source
    ```

  19. adamghill revised this gist Oct 11, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,7 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - [Notable](https://github.com/notable/notable): Markdown note-taking that doesn't suck
    - [Mimestream](https://mimestream.com/): Lightweight, native Gmail application
    - [Mark Text](https://marktext.app/): Clean and usable Markdown editor
    - [DevUtils](https://devutils.app/): Offline toolbox for developers

    # Homebrew
    - Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
  20. adamghill revised this gist May 6, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,7 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - [Postgres.app](https://postgresapp.com/): Easiest way to run a local Postgres server
    - [Notable](https://github.com/notable/notable): Markdown note-taking that doesn't suck
    - [Mimestream](https://mimestream.com/): Lightweight, native Gmail application
    - [Mark Text](https://marktext.app/): Clean and usable Markdown editor

    # Homebrew
    - Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
  21. adamghill revised this gist Apr 27, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -48,6 +48,7 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    pl = !git pull origin $(git name-rev --name-only HEAD)
    ps = !git push origin $(git name-rev --name-only HEAD)
    brv = "!f() { git branch --sort=-creatordate --color=always --format='%(color:reset)%(creatordate:short) %(color:bold white)%(align:2,right)%(upstream:trackshort)%(end)%(color:nobold) %(align:40,left)%(color:yellow)%(refname:short)%(end) %(color:reset)%(contents:subject)'; }; f"
    wip = for-each-ref --sort='-authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads
    [core]
    pager = diff-so-fancy | less -iFRQX
  22. adamghill revised this gist Dec 1, 2020. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -65,8 +65,12 @@ register-python-argcomplete --shell fish pipx | source
    # Sublime Text 3
    Config is detailed more extensively in https://gist.github.com/adamghill/6a9690aea3a20f1ce705d7df794ed2f2.

    # VS Code Extensions
    # VS Code
    ## Extensions
    - [Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
    - [Python Test Explorer for Visual Studio](https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter)
    - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
    - [Run on Save](https://marketplace.visualstudio.com/items?itemName=wk-j.save-and-run)
    - [Run on Save](https://marketplace.visualstudio.com/items?itemName=emeraldwalk.RunOnSave)

    ## Settings
    - https://gist.github.com/adamghill/951058bc5b6fb07f0dcf06904f6597e7
  23. adamghill revised this gist Nov 8, 2020. 1 changed file with 11 additions and 3 deletions.
    14 changes: 11 additions & 3 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -16,14 +16,22 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - `brew tap homebrew/cask-fonts`
    - `brew cask install font-hack-nerd-font`
    - `brew install bat lsd pyenv python3 tmux vim fish diff-so-fancy starship pipx postgresql`
    - `brew install bat lsd pyenv python3 tmux vim fish diff-so-fancy starship pipx node`

    # Python-related
    - Install latest Python versions: `pyenv install 3.6.12 && pyenv install 3.7.9 && pyenv install 3.8.6 && pyenv install 3.9.0`
    - Install Poetry: `curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python && poetry config virtualenvs.in-project 1`
    - Install `dj-command`: `pipx install dj-command`

    # ~/.gitconfig
    # Misc

    ## To get `psycopg2` to install correctly
    - `export LDFLAGS="-L/usr/local/opt/openssl/lib"`
    - `export CPPFLAGS="-I/usr/local/opt/openssl/include"`

    # Files

    ## ~/.gitconfig
    ```
    [alias]
    c = commit -m
    @@ -45,7 +53,7 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    pager = diff-so-fancy | less -iFRQX
    ```

    # ~/.config/fish/config.fish
    ## ~/.config/fish/config.fish
    ```
    export PYTHONDONTWRITEBYTECODE=1
    starship init fish | source
  24. adamghill revised this gist Nov 7, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - `brew tap homebrew/cask-fonts`
    - `brew cask install font-hack-nerd-font`
    - `brew install bat lsd pyenv python3 tmux vim fish diff-so-fancy starship pipx`
    - `brew install bat lsd pyenv python3 tmux vim fish diff-so-fancy starship pipx postgresql`

    # Python-related
    - Install latest Python versions: `pyenv install 3.6.12 && pyenv install 3.7.9 && pyenv install 3.8.6 && pyenv install 3.9.0`
  25. adamghill revised this gist Nov 7, 2020. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -19,9 +19,9 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - `brew install bat lsd pyenv python3 tmux vim fish diff-so-fancy starship pipx`

    # Python-related
    - `pyenv install 3.6.12 && pyenv install 3.7.9 && pyenv install 3.8.6 && pyenv install 3.9.0`
    - Poetry: `curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python`
    - `pipx install dj-command`
    - Install latest Python versions: `pyenv install 3.6.12 && pyenv install 3.7.9 && pyenv install 3.8.6 && pyenv install 3.9.0`
    - Install Poetry: `curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python && poetry config virtualenvs.in-project 1`
    - Install `dj-command`: `pipx install dj-command`

    # ~/.gitconfig
    ```
    @@ -45,7 +45,7 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    pager = diff-so-fancy | less -iFRQX
    ```

    ~/.config/fish/config.fish
    # ~/.config/fish/config.fish
    ```
    export PYTHONDONTWRITEBYTECODE=1
    starship init fish | source
  26. adamghill revised this gist Nov 7, 2020. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -16,11 +16,12 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - `brew tap homebrew/cask-fonts`
    - `brew cask install font-hack-nerd-font`
    - `brew install bat lsd pyenv python3 tmux vim fish diff-so-fancy starship`
    - `brew install bat lsd pyenv python3 tmux vim fish diff-so-fancy starship pipx`

    # Python-related
    - Poetry: `curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python`
    - `pyenv install 3.6.12 && pyenv install 3.7.9 && pyenv install 3.8.6 && pyenv install 3.9.0`
    - Poetry: `curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python`
    - `pipx install dj-command`

    # ~/.gitconfig
    ```
    @@ -50,6 +51,7 @@ export PYTHONDONTWRITEBYTECODE=1
    starship init fish | source
    pyenv init - | source
    register-python-argcomplete --shell fish pipx | source
    ```

    # Sublime Text 3
  27. adamghill revised this gist Nov 7, 2020. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -48,7 +48,15 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    ```
    export PYTHONDONTWRITEBYTECODE=1
    starship init fish | source
    pyenv init - | source
    ```

    # Sublime Text 3
    Config is detailed more extensively in https://gist.github.com/adamghill/6a9690aea3a20f1ce705d7df794ed2f2.
    Config is detailed more extensively in https://gist.github.com/adamghill/6a9690aea3a20f1ce705d7df794ed2f2.

    # VS Code Extensions
    - [Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
    - [Python Test Explorer for Visual Studio](https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter)
    - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
    - [Run on Save](https://marketplace.visualstudio.com/items?itemName=wk-j.save-and-run)
  28. adamghill revised this gist Nov 7, 2020. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -16,11 +16,11 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - `brew tap homebrew/cask-fonts`
    - `brew cask install font-hack-nerd-font`
    - `brew install bat lsd pyenv python3 tmux vim fish diff-so-fancy`
    - `brew install bat lsd pyenv python3 tmux vim fish diff-so-fancy starship`

    # Python-related
    - Poetry: `curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python`
    - `pyenv install 3.7.0`
    - `pyenv install 3.6.12 && pyenv install 3.7.9 && pyenv install 3.8.6 && pyenv install 3.9.0`

    # ~/.gitconfig
    ```
    @@ -44,9 +44,10 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    pager = diff-so-fancy | less -iFRQX
    ```

    ?
    ~/.config/fish/config.fish
    ```
    export PYTHONDONTWRITEBYTECODE=1
    starship init fish | source
    ```

    # Sublime Text 3
  29. adamghill revised this gist Nov 6, 2020. 1 changed file with 5 additions and 22 deletions.
    27 changes: 5 additions & 22 deletions clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -1,25 +1,22 @@
    An opinionated list of things that I tend to do on a clean install of OSX.

    # OSX applications
    - [Sublime Text 3](https://www.sublimetext.com/): Code editor with with all the speed
    - [Sublime Text 3](https://www.sublimetext.com/): Code editor with all the speed
    - [VS Code](https://code.visualstudio.com): For when an IDE might actually be useful
    - [GitUp](http://www.gitup.co): A clean `git` UI
    - [Spectacle](https://www.spectacleapp.com): Resize and move around windows with the keyboard
    - [Rectange](https://rectangleapp.com/): Resize and move around windows with the keyboard
    - [Postico](https://eggerapps.at/postico/): Nicest native Postgres UI client for the Mac
    - [iTerm2](https://www.iterm2.com): Terminal replacement
    - [1Password7](https://1password.com): Better than a Post-It note stuck to your monitor
    - [Postgres.app](https://postgresapp.com/): Easiest way to run a local Postgres server
    - [Notable](https://github.com/notable/notable): Markdown note-taking that doesn't suck
    - [Mimestream](https://mimestream.com/): Lightweight, native Gmail application

    # Homebrew
    - Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - `brew tap homebrew/cask-fonts`
    - `brew cask install font-hack-nerd-font`
    - `brew install bat lsd pyenv python3 tmux vim zsh diff-so-fancy`

    # CLI applications
    - oh-y-zsh: `sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"`
    - [zsh-autoenv](https://github.com/Tarrasch/zsh-autoenv#installation)
    - `brew install bat lsd pyenv python3 tmux vim fish diff-so-fancy`

    # Python-related
    - Poetry: `curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python`
    @@ -47,22 +44,8 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    pager = diff-so-fancy | less -iFRQX
    ```

    # ~/.zshrc
    ?
    ```
    plugins=(
    git
    poetry
    )
    alias ls='lsd -l'
    alias lsd='lsd -l'
    alias l='ls -l'
    alias la='ls -a'
    alias lla='ls -la'
    alias lt='ls --tree'
    eval "$(pyenv init -)"
    export PYTHONDONTWRITEBYTECODE=1
    ```

  30. adamghill revised this gist Aug 9, 2019. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion clean_osx.md
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    - Homebrew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
    - `brew tap homebrew/cask-fonts`
    - `brew cask install font-hack-nerd-font`
    - `brew install bat lsd pyenv python3 tmux vim zsh`
    - `brew install bat lsd pyenv python3 tmux vim zsh diff-so-fancy`

    # CLI applications
    - oh-y-zsh: `sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"`
    @@ -41,6 +41,10 @@ An opinionated list of things that I tend to do on a clean install of OSX.
    amend = !git commit --amend
    pl = !git pull origin $(git name-rev --name-only HEAD)
    ps = !git push origin $(git name-rev --name-only HEAD)
    brv = "!f() { git branch --sort=-creatordate --color=always --format='%(color:reset)%(creatordate:short) %(color:bold white)%(align:2,right)%(upstream:trackshort)%(end)%(color:nobold) %(align:40,left)%(color:yellow)%(refname:short)%(end) %(color:reset)%(contents:subject)'; }; f"
    [core]
    pager = diff-so-fancy | less -iFRQX
    ```

    # ~/.zshrc