Giter Site home page Giter Site logo

dotfiles's Introduction

dotfiles

my workstation configuration

Step by step configuration

Configure basic Mac settings. Refer to Mac Configuration

Using Safari, download and install Google Chrome, sign in and set as default.

Use default Terminal app to run the following commands.

Install homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install git:

brew install git

Generate a new SSH Key for the device:

ssh-keygen -t rsa -b 4096 -C "[email protected]"

Add the new ssh key to Github account, copy the key using:

pbcopy < ~/.ssh/id_rsa.pub

Create code/ and clone dot files repo:

mkdir code
cd code/
git clone [email protected]:oguzbilgic/dotfiles.git

Install packages and mac apps using Brewfile:

brew bundle

Switch to iterm, and import iterm profile. Refer to Configure Amethyst

Symlink dot files:

ln -s ~/code/dotfiles/vimrc  ~/.vimrc
ln -s ~/code/dotfiles/emacs.el  ~/.emacs.el
ln -s ~/code/dotfiles/config ~/.config
ln -s ~/code/dotfiles/hushlogin ~/.hushlogin

Set fish as the default shell:

echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
chsh -s `which fish`

Start amethyst and configure. Refer to Configure Amethyst

Install Irvue from Mac App Store.

Mac Configuration

  • Turn on 'Dock Hiding'
  • Turn on 'Menu Bar Hiding'
  • Enable 'Mouse right click'
  • Enable 'Mouse Swipe between pages'
  • Turn on 'Night Shift', bit warmer than default
  • Increase 'mouse tracking speed', 5th level from the right
  • Configure 'Menu Bar'
    • hide keyboard
    • show date
    • show sound icon

Configure Amethyst

  • Enable 'Start Amethyst on login'
  • Set 'Window margin' 15px
  • Layouts: Tall, Tall Right and Full Screen
  • Enable 'Swap windows using mouse'
  • Enable 'Resize windows using mouse'

Configure iTerm

tic -x ~/code/dotfiles/misc/xterm-256color.terminfo
tic -x ~/code/dotfiles/misc/tmux-256color.terminfo

Mac apps

These Mac apps will be installed using brew with the previous command.

Fonts

These fonts are used in vim, emacs, and iTerm2. Fonts can be installed using Brewfile

  • Inconsolata
    • 16pt, Light, 110, 135
  • JetBrains Mono
    • 14pt, ExtraLight, 110, 130
  • Roboto Mono
    • 14pt, Light, 110% vertical, 130% horizontal spacing
  • SF Mono
    • 12pt, 130% horizontal spacing
  • Fira Code
  • Source Code Pro
  • Office Code Pro
    • 12pt, 125% vertical spacing

dotfiles's People

Contributors

oguzbilgic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jffiorillo

dotfiles's Issues

org_repo function doesn't work

When running the org_repo function, the following error is prompted

 >org_repo
  File "<string>", line 1
    import sys; url = sys.stdin.readlines()[0].strip(); print url.split(':')[1][:-4]
                                                                ^
SyntaxError: invalid syntax

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.