Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A collection of *NIX configuration files, targeting macOS

NotificationsYou must be signed in to change notification settings

SeanNesdoly/dotfiles

Repository files navigation

A collection of my personal *NIX configuration files, used inmacOS.

The dotfiles contained within this version-controlled directory lack the usual"." prefix as they aresymlinked into the$HOME directory using thebashdot tool. When the symlinks arecreated in the$HOME directory, it automatically prefixes them with a dot.

.bootstrap.sh was previously used to copy dotfiles into the$HOME directoryand is now kept as a backup. It is prefixed with a dot to hide it from thebashdot tool.

Symlink files in version-controlled directory to$HOME

Thedotfiles directory must be in$HOME.

cd"$HOME"bashdot install dotfiles

Change default shell for machines running on Apple's M1 chip to an arm64-version of GNU bash

Source:https://support.apple.com/en-us/HT208050

# Install arm64-version of Homebrewif!command -v /opt/homebrew/bin/brew&> /dev/null;then# From https://brew.sh/    arch -arm64 /bin/bash -c"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"fiif!command -v /opt/homebrew/bin/bash&> /dev/null;then# Install arm64-version of GNU bashecho -e"Before installation of arm64 GNU bash:$(type -P bash)"    arch -arm64 /opt/homebrew/bin/brew install bashecho -e"After installation of arm64 GNU bash:$(type -P bash)"# Verify architectureecho -e"Architecture of$(file /opt/homebrew/bin/bash)"# Permit use of the homebrew-installed, arm64-version of GNU bash    sudoecho /opt/homebrew/bin/bash>> /etc/shells# Change the default shell    chsh -s /opt/homebrew/bin/bashfi

To set the complete path that shells open with for a profile in Terminal,without changing the system-wide default:

  1. Terminal --> Preferences --> General
  2. UnderShells open with, set theCommand (complete path) to/opt/homebrew/bin/bash

Common, yet easily forgotten, commands

  • Merge PDF files withImageMagick:
    magick -density 150 in{1,2}.jpg out.pdf
    (The macOSAutomator python script/System/Library/Automator/Combine\ PDF\ Pages.action/Contents/Resources/join.py has been moved or removed).

About

A collection of *NIX configuration files, targeting macOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp