Difference between revisions of "IT-OS-Admin-macOS"

From wiki.samerhijazi.net
Jump to navigation Jump to search
(brew)
(Settings)
Line 19: Line 19:
 
=Settings=
 
=Settings=
 
<pre class="code">
 
<pre class="code">
osascript -e 'id of app "<App-Name>"'
+
osascript -e 'id of app "Terminal"'
defaults write com.google.Chrome NSRequiresAquaSystemAppearance -bool yes
+
defaults write com.apple.Terminal NSRequiresAquaSystemAppearance -bool no
 
defaults write -g NSRequiresAquaSystemAppearance -bool Yes
 
defaults write -g NSRequiresAquaSystemAppearance -bool Yes
 
defaults write -g NSRequiresAquaSystemAppearance -bool No
 
defaults write -g NSRequiresAquaSystemAppearance -bool No
 
</pre>
 
</pre>

Revision as of 12:52, 23 January 2023

Ref.

Top Terminal Keyboard shortcuts

  • Show hidden files: (Command + Shift + .)
  • New window: (Command-N)
  • New tab: (Command-T)
  • Move insertion point to the beginning: (Control-A)
  • Move insertion point to the end: (Control-E)
  • []: option + 5, 6
  • ~: option + n

brew

HOMEBREW_NO_INSTALL_CLEANUP=false
HOMEBREW_NO_ENV_HINTS=true

Settings

osascript -e 'id of app "Terminal"'
defaults write com.apple.Terminal NSRequiresAquaSystemAppearance -bool no
defaults write -g NSRequiresAquaSystemAppearance -bool Yes
defaults write -g NSRequiresAquaSystemAppearance -bool No