Giter VIP home page Giter VIP logo

dotfiles's Introduction

dotfiles

My personal OSX installation system.

Description

I was reading Getting Started With Dotfiles and was inspired to create a configuration that would automate the setting up of a new OSX machine.

I wanted to learn from the ground up so I simplified the process outlined by Lars Kappert, copying files and directories rather than adding the sym links.

My simpler structure has a .bash_profile which contains the functions and alias rather than them being in separate files.

Added some improvements from codeinthehole/osx_bootstrap.sh.

Installation

Install XCode first from the App Store so Homebrew can access the libraries.

Some apps don't have a cask and so still need to be installed by hand, including Twitter.

Personalise the name and email fields in the git/.gitconfig file.

Add or remove applications in the install.sh/brew install and brew cask install tasks.

Available brew applications can be found by running brew search (app-name) or brew cask search (app-name)

Run the following commands and respond to prompts.

cd ~

git checkout https://github.com/russellf9/dotfiles.git

cd dotfile

sh install.sh

Update 9 June 2020

I'm in the process of bootstrapping a new Mac Book and am trying to update the scripts etc first.

  • Use NVM rather than n (and don't install using brew)
  • Add an improvement so we check for the existence of Homebrew before installing it.
  • Make a note to install X-Code manually first
  • Update the bash_profile with new snippets etc...
  • Update links and information
  • Oh-My-Zsh
  • add zsh to brew
  • [ ] Update Hammerspoon file
  • See if the copy part for the Hammerspoon file works (if not make script)
  • Update Karibiner-Elements Key Binding file if possible. (Is in .keyboard location)
  • Vimrc
  • and other Vim files and folders
  • Update .gitconfig? (see later)
  • Remove Qudini specific stuff
  • Add global NPM modules to script
  • Remove .idea folder (run script first to test how the script works)
  • Make script to copy Hammerspoon file (see hyper-apps.sh)

Notes:

The default OSX comes with versions of git and bash and the brew cask install task updates them.

Text-Editing Rocket

I've set up my machine with to use a whole set of text editing features from Turn Your Keyboard into a Text-Editing Rocket. So I've added Hammerspoon and Karabiner-Elements to the brew task in the shell script. Also a hyper-apps.lua file which contains my App shortcuts for Hammerspoon.

Summary of shortcuts which will be installed

  • l - List in long format, include dotfiles
  • ld- List in long format, only directories
  • week - Get week number
  • open_bash - Will open the .bash_profile
  • reload_bash_profile - Refreshes the Bash profile without opening a new Terminal window
  • mk - Create a new directory and enter it
  • fs - Determine size of a file or total size of a directory
  • manpdf - Open a terminal manual page as a PDF - manpdf ls
  • updateApps - Update App Store apps
  • delete_all_downloads - Deletes all files in ~/Downloads/
  • empty_trash - Empties the trash

Links

Caveats

The script has only been partially tested and this is very much a version 1!

Feel free to fork and comment or raise issues.

Contact

dotfiles's People

Contributors

russellf9 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.