Before starting, make sure the latest version of Xcode is installed and run at least once (to install command-line tools) from the Mac App Store.
This is only required for a brand new machine, and is used to authenticate your computer with your GitHub account.
Create the key in the default directory:
ssh-keygen -t ed25519 -C "Computer Name"
When it asks for a password, press enter for no password.
Copy the key to the clipboard:
pbcopy < ~/.ssh/id_ed25519.pub
Then go to Account Settings in GitHub and add this key to your account.
Full instructions for the above steps can be referenced from https://help.github.com/articles/generating-ssh-keys.
git clone https://github.com/Vortec4800/dotfiles.git && cd dotfiles && ./bootstrap.sh
To update, cd
into your local dotfiles
repository and then:
./bootstrap.sh
This will automatically pull any changes and update your machine.
The following commands are shortcuts available now:
..
- Parent directory
...
- Up 2 directories
~
- Switch to home directory
d
- Switch to ~/Dropbox
la
- List all files (including hidden) in long format
lsd
- List only directories
ip
- Get current public IP address
localip
- Get current LAN IP
g
- git
e
- emacs
- Default to expanded save dialog
- Default to expanded print dialog
- Disable "Reopen windows when logging back in" when restarting computer by default
- Automatically quit Print Center app when printing is complete
- Copy email addresses intelligently as
foo@example.com
instead ofFoo Bar <foo@example.com>
in Mail.app - Enable full keyboard access to system dialogs
- Show icons for hard drives, servers, and removable media on the desktop
- Show status bar at bottom of Finder
- Search current folder by default
- Diable creating .DS_Store files on network volumes
- Enable snap-to-grid for icons on the desktop and in other icon views
- Enable AirDrop on all interfaces (Ethernet)
- Make Dock icons of hidden applications translucent
- Enable Safari’s debug menu
- Allow hitting the Backspace key to go to the previous page in history
- Add Android Studio tools to path
- Git shortcut aliases
- Bash prompt with Git info in-line
- Configure git name/email