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

From wiki.samerhijazi.net
Jump to navigation Jump to search
(Top Terminal Keyboard shortcuts)
(Settings)
Line 23: Line 23:
 
* https://lupin3000.github.io/macOS/defaults/
 
* https://lupin3000.github.io/macOS/defaults/
 
* https://marketmix.com/de/mac-osx-umfassende-liste-der-terminal-defaults-commands/
 
* https://marketmix.com/de/mac-osx-umfassende-liste-der-terminal-defaults-commands/
 +
* https://git.herrbischoff.com/awesome-macos-command-line/about/
 
<pre class="code">
 
<pre class="code">
 
osascript -e 'id of app "Terminal"'
 
osascript -e 'id of app "Terminal"'

Revision as of 10:55, 25 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 + 8/9
  • ~: 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 com.apple.TextEdit NSRequiresAquaSystemAppearance -bool no
defaults write -g NSRequiresAquaSystemAppearance -bool Yes
defaults write -g NSRequiresAquaSystemAppearance -bool No
----
defaults write com.apple.Dock
defaults write com.apple.dock "orientation" -string "bottom" && killall Dock