Posts match “ osx ” tag:

Setting up my new Mac

  • Xcode: install it from apple store.

  • Xcode theme: Monokai Revisited

  • Xcode plug-ins:

    XcodeColors
    OMColorSense
    KSImageNamed
    
  • Xcode settings:

    Preferences -> Accounts -> Import/Outport Accounts
    Preferences -> Text Editing -> Line numbers
    Preferences -> Text Editing -> Indentation -> Tab/Indent width: 2 spaces
    
  • Command Line Tools for Xcode: Download

  • homebrew:

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
    
  • iTerm2

  • Solarized for iTerm2

    Preferences -> Profiles -> Colors -> Load Presets -> import -> solarized theme file
    Preferences -> Profiles -> Colors -> Load Presets -> Solarized
    
  • Setting for iTerm2: Preferences -> Profiles -> Text -> disable Draw bold text in bright colors

  • Setting Font Size: 14pt

  • Setting zsh: ZSH_THEME="ys"

  • Install my dot files.

Ctrl + t on OSX and FreeBSD

$ cp file.log /Volumes/tmp
load: 1.46  cmd: cp 78834 uninterruptible 0.00u 0.00s
file.log -> /Volumes/tmp/file.log  23%
load: 1.46  cmd: cp 78834 uninterruptible 0.00u 0.00s
file.log -> /Volumes/tmp/file.log  57%
load: 1.46  cmd: cp 78834 uninterruptible 0.00u 0.01s
file.log -> /Volumes/tmp/file.log  95%
load: 1.43  cmd: cp 78834 uninterruptible 0.00u 0.01s

man cp:

If cp receives a SIGINFO (see the status argument for stty(1)) signal, the current input and output file and the percentage complete will be written to the standard output.

This works for dd as well.