atomantic / dotfiles

πŸ–₯️ Automated Configuration, Preferences and Software Installation for macOS
ISC License
1.33k stars 453 forks source link

awk / dyld: Library not loaded error #23

Closed ghost closed 7 years ago

ghost commented 7 years ago

I am running 10.11.6 El Capitan When I run ./install.sh I get the same error repeated several times throughout the install:

dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found

Here is the full output of running ./install.sh. (I had already run the install a couple times, but at this point, the output is the same each time.)

\[._.]/ - Hi! I'm going to install tooling and tweak your system settings. Here I go...
Overwrite /etc/hosts with the ad-blocking hosts file from someonewhocares.org? (from ./configs/hosts file) [y|N] y

[action]:
 β‡’ cp /etc/hosts /etc/hosts.backup...
[ok] 

[action]:
 β‡’ cp ./configs/hosts /etc/hosts...
[ok] 

\[._.]/ - Your /etc/hosts file has been updated. Last version is saved in /etc/hosts.backup
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
 β‡’ checking homebrew install: [ok] 
 β‡’ updating homebrew: Updated 1 tap (homebrew/core).
==> Updated Formulae
ansible-lint         kobalt               libmicrohttpd        opencoarrays         protobuf-swift
[ok] 

\[._.]/ - before installing brew packages, we can upgrade any outdated packages.
run brew upgrade? [y|N] y

[action]:
 β‡’ upgrade brew packages......
[ok] brews updated...
 β‡’ checking brew-cask install: [ok] 
 β‡’ brew git : [ok] 
 β‡’ brew fontconfig : [ok] 
 β‡’ brew zsh : [ok] 
 β‡’ brew ruby : [ok] 
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found

\[._.]/ - setting newer homebrew zsh (/usr/local/bin/zsh) as your shell (password required)
[ok] 

\[._.]/ - creating symlinks for project dotfiles...
 β‡’ ~/.crontab: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.crontab
    linked[ok] 
 β‡’ ~/.gemrc: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.gemrc
    linked[ok] 
 β‡’ ~/.gitconfig: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.gitconfig
    linked[ok] 
 β‡’ ~/.gitignore: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.gitignore
    linked[ok] 
 β‡’ ~/.iterm2_shell_integration.zsh: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.iterm2_shell_integration.zsh
    linked[ok] 
 β‡’ ~/.profile: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.profile
    linked[ok] 
 β‡’ ~/.screenrc: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.screenrc
    linked[ok] 
 β‡’ ~/.shellaliases: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.shellaliases
    linked[ok] 
 β‡’ ~/.shellfn: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.shellfn
    linked[ok] 
 β‡’ ~/.shellpaths: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.shellpaths
    linked[ok] 
 β‡’ ~/.shellvars: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.shellvars
    linked[ok] 
 β‡’ ~/.tmux.conf: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.tmux.conf
    linked[ok] 
 β‡’ ~/.vim: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.vim
    linked[ok] 
 β‡’ ~/.vimrc: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.vimrc
    linked[ok] 
 β‡’ ~/.zlogout: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.zlogout
    linked[ok] 
 β‡’ ~/.zprofile: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.zprofile
    linked[ok] 
 β‡’ ~/.zshenv: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.zshenv
    linked[ok] 
 β‡’ ~/.zshrc: backup saved as ~/.dotfiles_backup/2017.05.02.15.07.24/.zshrc
    linked[ok] 

\[._.]/ - Installing vim plugins

\[._.]/ - installing fonts
Copying fonts...
Resetting font cache, this may take a moment...
Fontconfig warning: line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf
All Powerline fonts installed to /Users/crimj012/Library/Fonts
 β‡’ brew cask font-fontawesome: [ok] 
 β‡’ brew cask font-awesome-terminal-fonts: [ok] 
 β‡’ brew cask font-hack: [ok] 
 β‡’ brew cask font-inconsolata-dz-for-powerline: [ok] 
 β‡’ brew cask font-inconsolata-g-for-powerline: [ok] 
 β‡’ brew cask font-inconsolata-for-powerline: [ok] 
 β‡’ brew cask font-roboto-mono: [ok] 
 β‡’ brew cask font-roboto-mono-for-powerline: [ok] 
 β‡’ brew cask font-source-code-pro: [ok] 
[ok] 
 β‡’ Fixing Ruby Gems Directory Permissions: [ok] 
 β‡’ brew nvm : [ok] 
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 972: 21028 Trace/BPT trap: 5       awk { print $1 }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1056: 21067 Trace/BPT trap: 5       awk {
        if ($10 ~ /^\-?$/) { next }
        if ($10 && !a[tolower($10)]++) {
          if (alias) { print alias, version }
          alias_name = "lts/" tolower($10)
          if (!alias) { print "lts/*", alias_name }
          alias = alias_name
          version = $1
        }
      }
      END {
        if (alias) {
          print alias, version
        }
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1086: 21073 Trace/BPT trap: 5       awk -v pattern=.* -v lts= {
        if (!$1) { next }
        if (pattern && tolower($1) !~ tolower(pattern)) { next }
        if (lts == "*" && $10 ~ /^\-?$/) { next }
        if (lts && lts != "*" && tolower($10) !~ tolower(lts)) { next }
        if ($10 !~ /^\-?$/) print $1, $10; else print $1
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1056: 21107 Trace/BPT trap: 5       awk {
        if ($10 ~ /^\-?$/) { next }
        if ($10 && !a[tolower($10)]++) {
          if (alias) { print alias, version }
          alias_name = "lts/" tolower($10)
          if (!alias) { print "lts/*", alias_name }
          alias = alias_name
          version = $1
        }
      }
      END {
        if (alias) {
          print alias, version
        }
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1086: 21113 Trace/BPT trap: 5       awk -v pattern=.* -v lts= {
        if (!$1) { next }
        if (pattern && tolower($1) !~ tolower(pattern)) { next }
        if (lts == "*" && $10 ~ /^\-?$/) { next }
        if (lts && lts != "*" && tolower($10) !~ tolower(lts)) { next }
        if ($10 !~ /^\-?$/) print $1, $10; else print $1
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1056: 21133 Trace/BPT trap: 5       awk {
        if ($10 ~ /^\-?$/) { next }
        if ($10 && !a[tolower($10)]++) {
          if (alias) { print alias, version }
          alias_name = "lts/" tolower($10)
          if (!alias) { print "lts/*", alias_name }
          alias = alias_name
          version = $1
        }
      }
      END {
        if (alias) {
          print alias, version
        }
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1086: 21139 Trace/BPT trap: 5       awk -v pattern= -v lts= {
        if (!$1) { next }
        if (pattern && tolower($1) !~ tolower(pattern)) { next }
        if (lts == "*" && $10 ~ /^\-?$/) { next }
        if (lts && lts != "*" && tolower($10) !~ tolower(lts)) { next }
        if ($10 !~ /^\-?$/) print $1, $10; else print $1
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 240: 21146 Trace/BPT trap: 5       awk BEGIN {
    if (ARGV[1] == "" || ARGV[2] == "") exit(1)
    split(ARGV[1], a, /\./);
    split(ARGV[2], b, /\./);
    for (i=1; i<=3; i++) {
      if (a[i] && a[i] !~ /^[0-9]+$/) exit(2);
      if (a[i] < b[i]) exit(3);
      else if (a[i] > b[i]) exit(0);
    }
    exit(0)
  }  0.8.6
Detected that you have 8 CPU core(s)
Running with 7 threads to speed up the build
A version number is required.

[action]:
 β‡’ installing nvm...
 β‡’ brew nvm : [ok] 
./lib_sh/requirers.sh: line 94: /Users/crimj012/.bashrc: No such file or directory
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 972: 21293 Trace/BPT trap: 5       awk { print $1 }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1056: 21333 Trace/BPT trap: 5       awk {
        if ($10 ~ /^\-?$/) { next }
        if ($10 && !a[tolower($10)]++) {
          if (alias) { print alias, version }
          alias_name = "lts/" tolower($10)
          if (!alias) { print "lts/*", alias_name }
          alias = alias_name
          version = $1
        }
      }
      END {
        if (alias) {
          print alias, version
        }
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1086: 21339 Trace/BPT trap: 5       awk -v pattern=.* -v lts= {
        if (!$1) { next }
        if (pattern && tolower($1) !~ tolower(pattern)) { next }
        if (lts == "*" && $10 ~ /^\-?$/) { next }
        if (lts && lts != "*" && tolower($10) !~ tolower(lts)) { next }
        if ($10 !~ /^\-?$/) print $1, $10; else print $1
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1056: 21367 Trace/BPT trap: 5       awk {
        if ($10 ~ /^\-?$/) { next }
        if ($10 && !a[tolower($10)]++) {
          if (alias) { print alias, version }
          alias_name = "lts/" tolower($10)
          if (!alias) { print "lts/*", alias_name }
          alias = alias_name
          version = $1
        }
      }
      END {
        if (alias) {
          print alias, version
        }
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1086: 21373 Trace/BPT trap: 5       awk -v pattern=.* -v lts= {
        if (!$1) { next }
        if (pattern && tolower($1) !~ tolower(pattern)) { next }
        if (lts == "*" && $10 ~ /^\-?$/) { next }
        if (lts && lts != "*" && tolower($10) !~ tolower(lts)) { next }
        if ($10 !~ /^\-?$/) print $1, $10; else print $1
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1056: 21393 Trace/BPT trap: 5       awk {
        if ($10 ~ /^\-?$/) { next }
        if ($10 && !a[tolower($10)]++) {
          if (alias) { print alias, version }
          alias_name = "lts/" tolower($10)
          if (!alias) { print "lts/*", alias_name }
          alias = alias_name
          version = $1
        }
      }
      END {
        if (alias) {
          print alias, version
        }
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 1086: 21399 Trace/BPT trap: 5       awk -v pattern= -v lts= {
        if (!$1) { next }
        if (pattern && tolower($1) !~ tolower(pattern)) { next }
        if (lts == "*" && $10 ~ /^\-?$/) { next }
        if (lts && lts != "*" && tolower($10) !~ tolower(lts)) { next }
        if ($10 !~ /^\-?$/) print $1, $10; else print $1
      }
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
/usr/local/opt/nvm/nvm.sh: line 240: 21406 Trace/BPT trap: 5       awk BEGIN {
    if (ARGV[1] == "" || ARGV[2] == "") exit(1)
    split(ARGV[1], a, /\./);
    split(ARGV[2], b, /\./);
    for (i=1; i<=3; i++) {
      if (a[i] && a[i] !~ /^[0-9]+$/) exit(2);
      if (a[i] < b[i]) exit(3);
      else if (a[i] > b[i]) exit(0);
    }
    exit(0)
  }  0.8.6
A version number is required.
[ok] 

\[._.]/ - installing npm tools needed to run this project...
[ok] 

\[._.]/ - installing packages from config.js...
? Do you want to use gitshots? No
β˜•οΈ  installing brew packages
brew: ack
brew: ag
brew: coreutils
brew: dos2unix
brew: findutils
brew: fortune
brew: gawk
brew: gifsicle
brew: gnupg
brew: gnu-sed --with-default-names
brew: homebrew/dupes/grep
brew: httpie
brew: jq
brew: mas
brew: moreutils
brew: nmap
brew: openconnect
brew: reattach-to-user-namespace
brew: homebrew/dupes/screen
brew: tmux
brew: tree
brew: ttyrec
brew: vim --with-override-system-vi
brew: watch
brew: wget --enable-iri
β˜•οΈ  installing cask packages
cask: gpgtools
cask: iterm2
cask: little-snitch
cask: micro-snitch
cask: sizeup
cask: slack
cask: the-unarchiver
cask: xquartz
β˜•οΈ  installing npm packages
npm: antic
npm: buzzphrase
npm: eslint
npm: instant-markdown-d
npm: gulp
npm: npm-check
npm: prettyjson
npm: trash
npm: vtop
β˜•οΈ  installing gem packages
gem: git-up
[ok] 
 β‡’ cleanup homebrew: [ok] 

\[._.]/ - Configuring General System UI/UX...
 β‡’ closing any system preferences to prevent issues with automated changes: [ok] 
setremoteappleevents: remote apple events are already off.
Do you really want to turn remote login off? If you do, you will lose this connection and can only turn it back on locally at the server (yes/no)? yes
Wake On Modem: Not supported on this machine.
setwakeonnetworkaccess: Off
 β‡’ Disable local Time Machine snapshots: [ok] 
 β‡’ Remove the sleep image file to save disk space: [ok] 
 β‡’ Create a zero-byte file instead: [ok] 
 β‡’ …and make sure it can’t be rewritten: [ok] 

\[._.]/ - Standard System Changes
 β‡’ always boot in verbose mode (not MacOS GUI mode): [ok] 
 β‡’ allow 'locate' command: [ok] 
 β‡’ Set standby delay to 24 hours (default is 1 hour): [ok] 
 β‡’ Disable the sound effects on boot: [ok] 
 β‡’ Menu bar: disable transparency: [ok] 
 β‡’ Menu bar: hide the Time Machine, Volume, User, and Bluetooth icons: [ok] 
 β‡’ Set highlight color to green: [ok] 
 β‡’ Set sidebar icon size to medium: [ok] 
 β‡’ Always show scrollbars: [ok] 
 β‡’ Increase window resize speed for Cocoa applications: [ok] 
 β‡’ Expand save panel by default: [ok] 
 β‡’ Expand print panel by default: [ok] 
 β‡’ Save to disk (not to iCloud) by default: [ok] 
 β‡’ Automatically quit printer app once the print jobs complete: [ok] 
 β‡’ Disable the β€œAre you sure you want to open this application?” dialog: [ok] 
 β‡’ Remove duplicates in the β€œOpen With” menu (also see 'lscleanup' alias): [ok] 
 β‡’ Display ASCII control characters using caret notation in standard text views: [ok] 
 β‡’ Disable automatic termination of inactive apps: [ok] 
 β‡’ Disable the crash reporter: [ok] 
 β‡’ Set Help Viewer windows to non-floating mode: [ok] 
 β‡’ Reveal IP, hostname, OS, etc. when clicking clock in login window: [ok] 
 β‡’ Restart automatically if the computer freezes: [ok] 
 β‡’ Never go into computer sleep mode: [ok] 
 β‡’ Check for software updates daily, not just once per week: [ok] 
 β‡’ Disable smart quotes as they’re annoying when typing code: [ok] 
 β‡’ Disable smart dashes as they’re annoying when typing code: [ok] 

\[._.]/ - Trackpad, mouse, keyboard, Bluetooth accessories, and input
 β‡’ Trackpad: enable tap to click for this user and for the login screen: [ok] 
 β‡’ Trackpad: map bottom right corner to right-click: [ok] 
 β‡’ Disable 'natural' (Lion-style) scrolling: [ok] 
 β‡’ Increase sound quality for Bluetooth headphones/headsets: [ok] 
 β‡’ Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs): [ok] 
 β‡’ Use scroll gesture with the Ctrl (^) modifier key to zoom: [ok] 
 β‡’ Follow the keyboard focus while zoomed in: [ok] 
 β‡’ Disable press-and-hold for keys in favor of key repeat: [ok] 
 β‡’ Set a blazingly fast keyboard repeat rate: [ok] 
 β‡’ Set language and text formats (english/US): [ok] 
 β‡’ Disable auto-correct: [ok] 

\[._.]/ - Configuring the Screen
 β‡’ Require password immediately after sleep or screen saver begins: [ok] 
 β‡’ Save screenshots to the desktop: [ok] 
 β‡’ Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF): [ok] 
 β‡’ Disable shadow in screenshots: [ok] 
 β‡’ Enable subpixel font rendering on non-Apple LCDs: [ok] 
 β‡’ Enable HiDPI display modes (requires restart): [ok] 

\[._.]/ - Finder Configs
 β‡’ Keep folders on top when sorting by name (Sierra only):  β‡’ Allow quitting via ⌘ + Q; doing so will also hide desktop icons: [ok] 
 β‡’ Disable window animations and Get Info animations: [ok] 
 β‡’ Set Desktop as the default location for new Finder windows: [ok] 
 β‡’ Show hidden files by default: [ok] 
 β‡’ Show all filename extensions: [ok] 
 β‡’ Show status bar: [ok] 
 β‡’ Show path bar: [ok] 
 β‡’ Allow text selection in Quick Look: [ok] 
 β‡’ Display full POSIX path as Finder window title: [ok] 
 β‡’ When performing a search, search the current folder by default: [ok] 
 β‡’ Disable the warning when changing a file extension: [ok] 
 β‡’ Enable spring loading for directories: [ok] 
 β‡’ Remove the spring loading delay for directories: [ok] 
 β‡’ Avoid creating .DS_Store files on network volumes: [ok] 
 β‡’ Disable disk image verification: [ok] 
 β‡’ Automatically open a new Finder window when a volume is mounted: [ok] 
 β‡’ Use list view in all Finder windows by default: [ok] 
 β‡’ Disable the warning before emptying the Trash: [ok] 
 β‡’ Empty Trash securely by default: [ok] 
 β‡’ Enable AirDrop over Ethernet and on unsupported Macs running Lion: [ok] 
 β‡’ Show the ~/Library folder: [ok] 
 β‡’ Expand the following File Info panes: β€œGeneral”, β€œOpen with”, and β€œSharing & Permissions”: [ok] 

\[._.]/ - Dock & Dashboard
 β‡’ Enable highlight hover effect for the grid view of a stack (Dock): [ok] 
 β‡’ Set the icon size of Dock items to 36 pixels: [ok] 
 β‡’ Change minimize/maximize window effect to scale: [ok] 
 β‡’ Minimize windows into their application’s icon: [ok] 
 β‡’ Enable spring loading for all Dock items: [ok] 
 β‡’ Show indicator lights for open applications in the Dock: [ok] 
 β‡’ Don’t animate opening applications from the Dock: [ok] 
 β‡’ Speed up Mission Control animations: [ok] 
 β‡’ Don’t group windows by application in Mission Control: [ok] 
 β‡’ Disable Dashboard: [ok] 
 β‡’ Don’t show Dashboard as a Space: [ok] 
 β‡’ Don’t automatically rearrange Spaces based on most recent use: [ok] 
 β‡’ Remove the auto-hiding Dock delay: [ok] 
 β‡’ Remove the animation when hiding/showing the Dock: [ok] 
 β‡’ Automatically hide and show the Dock: [ok] 
 β‡’ Make Dock icons of hidden applications translucent: [ok] 
 β‡’ Make Dock more transparent: [ok] 
 β‡’ Reset Launchpad, but keep the desktop wallpaper intact: [ok] 

\[._.]/ - Configuring Hot Corners
 β‡’ Top left screen corner β†’ Mission Control: [ok] 
 β‡’ Top right screen corner β†’ Desktop: [ok] 
 β‡’ Bottom right screen corner β†’ Start screen saver: [ok] 

\[._.]/ - Configuring Safari & WebKit
 β‡’ Set Safari’s home page to β€˜about:blank’ for faster loading: [ok] 
 β‡’ Prevent Safari from opening β€˜safe’ files automatically after downloading: [ok] 
 β‡’ Allow hitting the Backspace key to go to the previous page in history: [ok] 
 β‡’ Hide Safari’s bookmarks bar by default: [ok] 
 β‡’ Hide Safari’s sidebar in Top Sites: [ok] 
 β‡’ Disable Safari’s thumbnail cache for History and Top Sites: [ok] 
 β‡’ Enable Safari’s debug menu: [ok] 
 β‡’ Make Safari’s search banners default to Contains instead of Starts With: [ok] 
 β‡’ Remove useless icons from Safari’s bookmarks bar: [ok] 
 β‡’ Enable the Develop menu and the Web Inspector in Safari: [ok] 
 β‡’ Add a context menu item for showing the Web Inspector in web views: [ok] 

\[._.]/ - Configuring Mail
 β‡’ Disable send and reply animations in Mail.app: [ok] 
 β‡’ Copy email addresses as 'foo@example.com' instead of 'Foo Bar <foo@example.com>' in Mail.app: [ok] 
 β‡’ Add the keyboard shortcut ⌘ + Enter to send an email in Mail.app: [ok] 
 β‡’ Display emails in threaded mode, sorted by date (oldest at the top): [ok] 
 β‡’ Disable inline attachments (just show the icons): [ok] 
 β‡’ Disable automatic spell checking: [ok] 

\[._.]/ - Spotlight
 β‡’ Disable Spotlight indexing for any volume that gets mounted and has not yet been indexed: [ok] 
 β‡’ Change indexing order and disable some file types from being indexed: [ok] 
 β‡’ Load new settings before rebuilding the index: [ok] 
 β‡’ Make sure indexing is enabled for the main volume: [ok] 

\[._.]/ - Terminal & iTerm2
 β‡’ Installing the Solarized Light theme for iTerm (opening file): [ok] 
 β‡’ Installing the Patched Solarized Dark theme for iTerm (opening file): [ok] 
 β‡’ Don’t display the annoying prompt when quitting iTerm: [ok] 
 β‡’ hide tab title bars: [ok] 
 β‡’ set system-wide hotkey to show/hide iterm with ^`: [ok] 
 β‡’ hide pane titles in split panes: [ok] 
 β‡’ animate split-terminal dimming: [ok] 
 β‡’ Make iTerm2 load new tabs in the same directory:  β‡’ setting fonts: [ok] 
 β‡’ reading iterm settings: 
  [Restored May 2, 2017, 3:09:49 PM]
Last login: Tue May  2 15:09:37 on ttys000
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
In America today ... we have Woody Allen, whose humor has become so
sophisticated that nobody gets it any more except Mia Farrow.  All those who
think Mia Farrow should go back to making movies where the devil gets her
pregnant and Woody Allen should go back to dressing up as a human sperm,
please raise your hands.  Thank you.
        -- Dave Barry, "Why Humor is Funny"

After the install, I get the same error each time I start iTerm:

Last login: Tue May  2 15:09:49 on ttys001
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/bin/awk
  Reason: image not found
Something better...

 1 (obvious): Excuse me.  Is that your nose or did a bus park on your face?
...

Running sudo chown -R $(whoami) /Library/Ruby/Gems/2.0.0 and restarting iterm does not fix the problem.

In addition, there is a problem with the installation of git-up. Running git-up gives this error:

/usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': dlopen(/usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/x86_64-darwin15/digest/sha1.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib (LoadError)
  Referenced from: /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/x86_64-darwin15/digest/sha1.bundle
  Reason: image not found - /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/x86_64-darwin15/digest/sha1.bundle
    from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/local/lib/ruby/gems/2.4.0/gems/grit-2.5.0/lib/grit.rb:10:in `<top (required)>'
    from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/local/lib/ruby/gems/2.4.0/gems/git-up-0.5.12/lib/git-up.rb:2:in `<top (required)>'
    from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/local/Cellar/ruby/2.4.1_1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/local/lib/ruby/gems/2.4.0/gems/git-up-0.5.12/bin/git-up:3:in `<top (required)>'
    from /usr/local/bin/git-up:22:in `load'
    from /usr/local/bin/git-up:22:in `<main>'
atomantic commented 7 years ago

apparently an issue with gawk depending on a bad readline.

This makes it so a good version of readline is installed:

brew uninstall gawk
brew uninstall readline
brew install readline
brew install gawk
atomantic commented 7 years ago

Also, looks like i need to add a case to handle installing nvm when you've already switched your shell from bash to zsh.

atomantic commented 7 years ago

To fix the other issue:

down the rabbit hole with ruby :)

brew uninstall ruby --ignore-dependencies --force ruby
RUBY_CONFIGURE_OPTS="--with-openssl-dir=`brew --prefix openssl` --with-readline-dir=`brew --prefix readline` --with-libyaml-dir=`brew --prefix libyaml`
brew install rbenv
rbenv init
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
rbenv install 2.4.1
rbenv global 2.4.1

open a new terminal session

gem update --system

then you should be able to install git-up:

gem install git-up
ctrlplusb commented 5 years ago

I had to do reinstall to get it working:

brew reinstall readline
brew reinstall gawk
atomantic commented 5 years ago

in my latest setup, I've removed the gem installs. Now using git pull --rebase --autostash as an alias in .gitconfig for git up

markf-hubdoc-com commented 5 years ago

For me a simple

brew uninstall gawk
brew install gawk

did the trick.