My username is hrk
and I am currently logged in as hrk
on the hostname of Hrishikeshs-MacBook-Pro
.
Why is the output of the following 2 commands different?
Shouldn't the output be the same?
Where can I find the official explanation besides the man defaults
page?
defaults -host Hrishikeshs-MacBook-Pro read -globalDomain
{
AKLastEmailListRequestDateKey = "2022-10-26 21:50:38 +0000";
AKLastIDMSEnvironment = 0;
AppleAntiAliasingThreshold = 4;
AppleInterfaceStyle = Dark;
AppleLanguages = (
"en-IN"
);
AppleLanguagesDidMigrate = "12.6";
AppleLanguagesSchemaVersion = 2000;
AppleLocale = "en_IN";
AppleMeasurementUnits = Centimeters;
AppleMetricUnits = 1;
AppleMiniaturizeOnDoubleClick = 0;
AppleShowAllExtensions = 1;
AppleTemperatureUnit = Celsius;
NSAutomaticCapitalizationEnabled = 1;
NSAutomaticDashSubstitutionEnabled = 1;
NSAutomaticPeriodSubstitutionEnabled = 1;
NSAutomaticQuoteSubstitutionEnabled = 1;
NSAutomaticSpellingCorrectionEnabled = 1;
NSAutomaticTextCompletionEnabled = 1;
NSLinguisticDataAssetsRequestLastInterval = 86400;
NSLinguisticDataAssetsRequestTime = "2022-10-26 14:45:16 +0000";
NSLinguisticDataAssetsRequested = (
en
);
NSLinguisticDataAssetsRequestedByChecker = (
en
);
NSPreferredWebServices = {
NSWebServicesProviderWebSearch = {
NSDefaultDisplayName = Google;
NSProviderIdentifier = "com.google.www";
};
};
NSUserDictionaryReplacementItems = (
{
on = 1;
replace = omw;
with = "On my way!";
}
);
WebAutomaticSpellingCorrectionEnabled = 1;
"com.apple.finder.SyncExtensions" = {
collaborationMap = {
};
dirMap = {
};
};
"com.apple.sound.beep.flash" = 0;
"com.apple.springing.delay" = "0.5";
"com.apple.springing.enabled" = 1;
"com.apple.trackpad.forceClick" = 1;
"com.apple.trackpad.scaling" = 1;
userMenuExtraStyle = 2;
}
defaults -currentHost read -globalDomain
{
"com.apple.mouse.tapBehavior" = 1;
"com.apple.trackpad.enableSecondaryClick" = 1;
"com.apple.trackpad.fiveFingerPinchSwipeGesture" = 2;
"com.apple.trackpad.fourFingerHorizSwipeGesture" = 2;
"com.apple.trackpad.fourFingerPinchSwipeGesture" = 2;
"com.apple.trackpad.fourFingerVertSwipeGesture" = 2;
"com.apple.trackpad.momentumScroll" = 1;
"com.apple.trackpad.pinchGesture" = 1;
"com.apple.trackpad.rotateGesture" = 1;
"com.apple.trackpad.scrollBehavior" = 2;
"com.apple.trackpad.threeFingerDragGesture" = 0;
"com.apple.trackpad.threeFingerHorizSwipeGesture" = 2;
"com.apple.trackpad.threeFingerTapGesture" = 0;
"com.apple.trackpad.threeFingerVertSwipeGesture" = 2;
"com.apple.trackpad.twoFingerDoubleTapGesture" = 1;
"com.apple.trackpad.twoFingerFromRightEdgeSwipeGesture" = 3;
"com.apple.trackpad.version" = 5;
}
PS -
Not a duplicate of - What is 'currentHost' for, in defaults?