dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

remaining tasks after new machine setup

Open travi opened this issue 6 years ago • 12 comments

Settings

  • [x] touch to click
  • [x] 3-finger drag
  • [x] function keys w/o fn
  • [x] auto-hide dock
  • [ ] chicken and egg for environment config and app installation

Manual steps

  • log in to app store (to enable installation of mas apps through brew bundle)
    • lpass login
    • lpass ls | grep apple
    • lpass show <id from output above>
    • log in through the app store app
  • set git user and email in ~/.files.extra
  • configure gpg for git commits
  • switch remote to use ssh
  • ssh key
  • add "standard" account for day to day use
  • configure brew to allow use by the secondary account (#180)
  • set screensaver to aerial

Errors

During Environment Configuration (Before Software Installation)

/Users/admin/.files/bash/completion.sh: line 28: syntax error near unexpected token `('
/Users/admin/.files/bash/completion.sh: line 28: `    source <(npm completion)'
/Users/admin/.files/osx/aliases.sh: line 19: thefuck: command not found
/Users/admin/.files/git/functions.sh: line 6: `git-current-branch-sha': not a valid identifier

During software installation

Error: Cask 'pl2303' is unavailable: No Cask with this name exists. Did you mean “prolific-pl2303”?
Installing pl2303 has failed!
Error: Cask 'chefdk' is unavailable: No Cask with this name exists.
Installing chefdk has failed!
Error: Cask 'google-cloud-sdk' does not have a sha256 checksum defined and was not installed.
This means you have the --require-sha option set, perhaps in your HOMEBREW_CASK_OPTS.
==> Caveats
google-cloud-sdk is installed at /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk. Add your profile:

  for bash users
    source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.bash.inc'
    source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.bash.inc'

  for zsh users
    source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc'
    source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc'

==> Satisfying dependencies
Installing google-cloud-sdk has failed!
Error: Cask 'brave' is unavailable: No Cask with this name exists. Did you mean “brave-browser”?
Installing brave has failed!
Error: Cask 'dropbox' does not have a sha256 checksum defined and was not installed.
This means you have the --require-sha option set, perhaps in your HOMEBREW_CASK_OPTS.
==> Satisfying dependencies
Installing dropbox has failed!

Error: Cask 'adobe-reader' is unavailable: No Cask with this name exists.
Installing adobe-reader has failed!
Error: Cask 'fiddler' is unavailable: No Cask with this name exists.
Installing fiddler has failed!

~~### During environment configuration~~ resolved after getting the proper gnupg package installed

~~Error: No available formula with the name "gpg-agent"~~ ~~gpg-agent[39060]: failed to run the command: No such file or directory~~

~~### When running git df/git in/git out/etc~~ resolved by getting the existing software installation script working

travi avatar Nov 13 '18 04:11 travi

when applying the osx environment.sh, the following error appears on the first run:

Set: Entry, ":FK_StandardViewSettings:IconViewSettings:arrangeBy", Does Not Exist

no error appears on the second run, which is consistent with this comment

travi avatar Nov 14 '18 05:11 travi

i havent figured out how to enable night shift programmatically, so i've enabled through system prefs

travi avatar Nov 15 '18 05:11 travi

when choosing "1: Environment Configuration" on the initial run, results in ".files/bash/completion.sh: line 28: syntax error near unexpected token `('"

travi avatar Nov 16 '18 05:11 travi

when running "1: Environment Configuration" on a standard (non-admin) account through the init.sh script, results in:

Configuring  OS X
Password:
Sorry, user travi may not run sudo on Matts-MacBook-Air.
/usr/local/bin/bash
Password:
Sorry, try again.
Password:
travi is not in the sudoers file.  This incident will be reported.
Set: Entry, ":FK_StandardViewSettings:IconViewSettings:arrangeBy", Does Not Exist
Done. Note that some of these changes require a logout/restart to take effect.

travi avatar Nov 16 '18 05:11 travi

add little snitch and micro snitch

travi avatar Nov 18 '18 03:11 travi

avn isnt working yet

travi avatar Nov 18 '18 14:11 travi

set global brew installation directories: https://github.com/Homebrew/homebrew-cask/blob/master/USAGE.md#options

  • [x] fontdir
  • [x] screen_saverdir

travi avatar Dec 08 '18 04:12 travi

  • [ ] disable default cmd + shift + / (collides with command shortcut in webstorm)
  • [x] disable ctrl + up / down (collide with navigation to function in webstorm)

travi avatar Feb 10 '19 21:02 travi

https://github.com/diimdeep/dotfiles/blob/master/osx/configure/hotkeys.sh

travi avatar Mar 08 '19 05:03 travi

when choosing "1: Environment Configuration" on the initial run, results in ".files/bash/completion.sh: line 28: syntax error near unexpected token `('"

this issue still exists

travi avatar Jul 13 '20 21:07 travi

$ git df
diff-highlight | less: diff-highlight: command not found

because of https://github.com/travi/dotfiles/blob/54767bcf3ddbc8584f00fca46cbbadb672d3b65e/osx/gitconfig.osx#L16-L22

this is a problem until:

  • source-highlight gets installed
  • diff-highlight is symlinked https://github.com/travi/dotfiles/blob/54767bcf3ddbc8584f00fca46cbbadb672d3b65e/osx/environment.sh#L235-L236

travi avatar Jul 14 '20 16:07 travi

avn isnt working yet

there is a bug on the avn side preventing installation with newer node versions. installing with an older version seems to work around this: https://github.com/wbyoung/avn/issues/105#issuecomment-742482936

travi avatar Dec 22 '20 15:12 travi