Skip to content

Instantly share code, notes, and snippets.

@audetcameron
Last active September 23, 2020 15:45
Show Gist options
  • Save audetcameron/519c6a645838c62b4e41f49c579b2907 to your computer and use it in GitHub Desktop.
Save audetcameron/519c6a645838c62b4e41f49c579b2907 to your computer and use it in GitHub Desktop.
New Mac Setup Tips

Installs

###install oh-my-zsh https://ohmyz.sh/#install

$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Vim

reference default vimrc here create vimrc

touch ~/.vimrc

add this to remove vim from history in window when closing vim

if &term =~ "ansi"
    let &t_ti = "\<Esc>[?47h"
    let &t_te = "\<Esc>[?47l"
endif

Sublime Text 3

####Package Control ctrl-shift-p install package control

creates a symlink to open sublime by tpying subl

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl 

My Sublime Setup

-Material Theme -Fira Code (font) -Preferences Gist (this is coming soon)

Setting Up SSH

ssh-keygen -t rsa

Pushing keys to server

ssh-copy-id -i ~/.ssh/id_rsa uesrname@serverhost.com

Default will look here so you can just do

ssh-copy-id user@serverhost.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment