rogerthiede / dotfiles Goto Github PK
View Code? Open in Web Editor NEWOS X dotfiles managed via cider
License: MIT License
OS X dotfiles managed via cider
License: MIT License
install.sh checks for Xcode Command Line Tools with an incorrect comparison for macOS 10.12 Sierra.
Incarnation of my dotfiles was reliant upon the Mac App Store, Homebrew, Homebrew Cask, and oh-my-zsh; all OS X (macOS) based systems.
Various tools exist on Microsoft Windows to accomplish the same goal. Since I currently use a list of Chocolatey packages, creating a dotfiles approach with Chocolatey might be valuable. This could exist as an orphaned branch for Microsoft Windows.
From Terminal -> Preferences -> Profiles -> Shell, When the shell exits: "Don't close the window" is the default.
Desired setting is "Close if the shell exited cleanly"
com.apple.Terminal "Window Settings" is an array of profiles, and each profile has a shellExitAction. Desired shellExitAction = 1 for "Close if the shell exited cleanly". However, I would prefer not to override all other settings for any given profile such as Homebrew. Can this one shellExitAction be modified by using "defaults write ...." and/or cider set-default?
https://github.com/paulmillr/dotfiles mentions the zsh shell configured feature of "rm moves file to the OS X trash"
./install.sh
encounters errors:
Error: Unknown command: linkapps
./install.sh: line 26: pip: command not found
./install.sh: line 32: pip: command not found
cider restore
will properly brew cask araxis-merge
, but no automation is done for the optional components.
INTEGRATING MERGE WITH FINDER (OPTIONAL)
The Merge extension for Finder adds commands to the Finder context menus that appear when you right-click (or Ctrl-click) selected files or folders. The extension is not enabled by default, and must therefore be enabled via macOS System Preferences before it can be used.
To enable or disable the Merge Finder extension:
Open the macOS System Preferences.
Choose the Extensions item.
To enable Finder integration, check the Araxis Merge▸Finder checkbox.
To disable Finder integration, uncheck the Araxis Merge▸Finder checkbox.
https://www.araxis.com/merge/documentation-os-x/integrating-with-finder.en#FinderExtension
INSTALLING THE MERGE COMMAND-LINE UTILITIES (OPTIONAL)
If you wish to use Merge from the command-line, or integrate it with another application, you will need to add the command-line utilities to your preferred command-line shell’s search path.
To install the command-line utilities:As of Merge 2013.4283, the command-line utilities are located in the Araxis Merge application bundle.
Ensure that the Utilities folder within the Araxis Merge application bundle is part of your command-line shell’s search path. For example, if you are using Bash, you may wish to add the following to your home directory’s .profile (or .bash_profile) file:
export PATH=$PATH:/Applications/Araxis\ Merge.app/Contents/Utilities
Information Note that this line will place the Merge utilities on your PATH_after_ any existing commands. If you encounter problems using a Merge command-line utility, check that there is not an identically named command elsewhere on your path. Note specifically, for example, that ImageMagick provides its own compare command. You can check which compare command is taking precedence by running:
which compare
If you are upgrading from an earlier Merge build, please remove any copies of the command-line utilities that you might have made in the past.
https://www.araxis.com/merge/documentation-os-x/installing.en
Unhide the Library folder. macOS hides the ~/Library folder by default.
Can this be done via OS X defaults? Any way to automate this?
With the Finder as the foremost application, press shift-command-H, command-2, and then command-J, which will bring up a window that configures Finder view options. Check the “Show Library Folder” and close the window. Thanks to the Apple engineers that made this process more user-friendly than it has been in the past.
When using Cider relink
to symlink scripts into ~/Applications or elsewhere, Spotlight will not index them. It appears Spotlight will not use a symlink in results.
Cider supports "after-scripts". This can be utilized to automatically install/setup oh-my-zsh and zsh-syntax-highlighting. Determine what steps are needed to detect and/or install oh-my-zsh in idempotent manner.
"after-scripts": [
"./script/install_zsh.sh",
"brew linkapps"
]
Cider supports "after-scripts". This can be utilized to automatically install various Visual Studio Code extensions after vscode has been installed via brew. Determine what steps are needed to install vscode extensions in an idempotent manner.
"after-scripts": [
"./script/install_vscode_extensions.sh",
]
brew install zsh-syntax-highlighting instead of adding it into $ZSH/custom/plugins
README.md includes instructions to git clone git://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH/custom/plugins/zsh-syntax-highlighting.git
Commit bootstrap.yaml containing visual-studio-code cask
brew cask install visual-studio-code
Implement a cider after-script that sets various default applications using duti which is available from Homebrew.
duti is command-line tool to select default applications for document types and URL schemes on Mac OS X.
Additional app execution is necessary after brew cask paragon-ntfs
. Consider adding into cider after-scripts. Need a conditional to check if the cask has been installed but the app installation not yet completed, and to then execute FSInstaller.app when necessary.
==> Installing Cask paragon-ntfs
To complete the installation of Cask paragon-ntfs, you must also
run the installer at
'/usr/local/Caskroom/paragon-ntfs/14/FSInstaller.app'
README.md
Installation instructions include git clone git://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH/custom/plugins/zsh-syntax-highlighting.git
. It is now available as a brew formula.
Cider can store and restore OS X User Defaults.
Investigate which User Defaults I've customized and which should be standardized into my dotfiles for new systems.
Examples:
Domain | Key | Value |
---|---|---|
NSGlobalDomain | NSUserDictionaryReplacementItems | ... |
com.apple.desktopservices | DSDontWriteNetworkStores | true |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.