User Tools

Site Tools


apple

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
apple [2024/02/07 13:02] – [Configuration] dblumeapple [2025/04/13 20:36] (current) – Add Finder preferences to set dblume
Line 8: Line 8:
     * Trackpad -> Tap to Click (For not having to press hard for a click.)     * Trackpad -> Tap to Click (For not having to press hard for a click.)
     * Tap-and-drag: Accessibility -> Pointer Control -> Trackpad Options and enable 'Dragging (without) Drag Lock'     * Tap-and-drag: Accessibility -> Pointer Control -> Trackpad Options and enable 'Dragging (without) Drag Lock'
-  * Open the Photos app, and drag a userpic to it. Then change your userpic in the System Preferences.+  * Open the Photos app, and drag [[https://dlma.com/avatars/|a userpic]] to it. Then change your userpic in the System Preferences
 +  * Set your [[http://gallery.dlma.com/index.php/miscellaneous/chinesemoon|desktop image to Chinese Moon]].
   * Get [[http://www.google.com/chrome/intl/en/landing_chrome.html?hl=en&platform=mac|Chrome]] (Login and sync.)   * Get [[http://www.google.com/chrome/intl/en/landing_chrome.html?hl=en&platform=mac|Chrome]] (Login and sync.)
   * [[http://www.tekrevue.com/tip/show-path-finder-title-bar/|Show the full path in the finder]] with <code>defaults write com.apple.finder _FXShowPosixPathInTitle -bool true; killall Finder</code>   * [[http://www.tekrevue.com/tip/show-path-finder-title-bar/|Show the full path in the finder]] with <code>defaults write com.apple.finder _FXShowPosixPathInTitle -bool true; killall Finder</code>
 +  * Download and install [[https://ghostty.org/download|Ghostty]].
 +  * Set bash as your default shell (seem [[https://stackoverflow.com/questions/77052638/changing-default-shell-from-zsh-to-bash-on-macos-catalina-and-beyond|to need to install via brew]]): ''chsh -s /bin/bash''
   * System Preferences:   * System Preferences:
 +    * Set some of these [[https://medium.com/macoclock/macos-finder-sucks-4ab191e07c40|Finder preferences]]
     * Mouse      * Mouse 
       * Make tracking speed much faster!       * Make tracking speed much faster!
Line 41: Line 45:
 macOS comes with BSD grep pre-installed, which doesn't use the Perl -P flag. macOS comes with BSD grep pre-installed, which doesn't use the Perl -P flag.
  
-Go to http://brew.sh/ and run the ruby command. (See [[https://git.dlma.com/dotfiles.git/commit/fc19c7b34f522f3f22a32418c9da55df6b9b5f0e|this .bash_profile change for how we use default names for GNU ctags, find, grep and sed]].)+Go to http://brew.sh/ and run the installation command. (See [[https://git.dlma.com/dotfiles.git/commit/fc19c7b34f522f3f22a32418c9da55df6b9b5f0e|this .bash_profile change for how we use default names for GNU ctags, find, grep and sed]].)
  
-  brew install grep +After installation, it said: 
-  brew install gnu-sed + 
-  brew install findutils +  ==> Next steps: 
-  brew install ctags +  - Run these commands in your terminal to add Homebrew to your PATH: 
-  brew install gawk +      echo >> /Users/dblume/.zprofile 
-  brew install jq +      echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/dblume/.zprofile 
-  brew install tree +      eval "$(/opt/homebrew/bin/brew shellenv)" 
-  brew install httpie +  - Run brew help to get started 
-  brew install inetutils  # If you need telnet (maybe nc is good enough?) +  - Further documentation: 
-  brew install telnet +      https://docs.brew.sh 
-  brew install gnuplot + 
-  brew install pv +  brew install grep gnu-sed findutils universal-ctags 
-  brew install gnupg +  brew install gawk jq tree httpie inetutils pv 
-  brew install socat +  brew install gnupg socat wget nmap tmux saulpw/vd/visidata 
-  brew install wget +  brew install ripgrep moreutils neovim  
-  brew install nmap +  brew install bash-completion  # See .bash_profile 
-  brew install tmux + 
-  brew install saulpw/vd/visidata +Ensure your prompt has git hintsSee .bashrc for __git_ps1 (maybe download .git-prompt.sh)
-  brew install ripgrep + 
-  brew install moreutils +To install gnuplot 6.0 with "block" display for Braille chars, see [[gnuplot#instructions-for-macos]]
-  brew install bash-completion. " See .bash_profile +
-  brew install gitui +
-  # Maybe also readline if you brew install python3 +
-   +
-  brew install bash +
-  # Note where it was installedThen something like..+
-  sudo ln -s /opt/homebrew/Cellar/bash/5.2.15/bin/bash /usr/local/bin/bash +
-  sudo echo /usr/local/bin/bash >> /etc/shells +
-  chsh -s /usr/local/bin/bash+
  
 Log out of that console window and log back in again. Log out of that console window and log back in again.
  
 +==== tmux and "tmux-256color" ====
 +
 +We set tmux to set $TERM to "tmux" so that neovim's highlight can include italics. And we bump it to "tmux-256color" so that VisiData can make use of all its colors. (Dot plot AirPassengers.csv but don't set the month column to any format.)
 +
 +VisiData will complain it "could not find terminfo database". So we [[https://gist.github.com/nicm/ea9cf3c93f22e0246ec858122d9abea1?permalink_comment_id=4206886#gistcomment-4206886|manually use the one provided by a tmux developer]]...
 +
 +  curl -O "https://gist.github.com/nicm/ea9cf3c93f22e0246ec858122d9abea1/raw/37ae29fc86e88b48dbc8a674478ad3e7a009f357/tmux-256color"
 +  sudo tic -x tmux-256color
 +
 +That should install the database into /usr/share/terminfo
  
 ===== Tips ===== ===== Tips =====
Line 143: Line 148:
 ===== Software to Get ===== ===== Software to Get =====
  
-  * [[http://iterm2.com/|iTerm2]] and install your [[http://git.dlma.com/dotfiles.git/|dotfiles]].+  * [[https://ghostty.org/download|Ghostty]] and install your [[http://git.dlma.com/dotfiles.git/|dotfiles]]
 +  * <del>[[http://iterm2.com/|iTerm2]]</del>.
     * Preferences -> Profiles -> Terminal -> uncheck "Save lines to scrollback in alternate screen mode"     * Preferences -> Profiles -> Terminal -> uncheck "Save lines to scrollback in alternate screen mode"
     * Install Powerline Fonts per [[private:fonts]].     * Install Powerline Fonts per [[private:fonts]].
apple.1707339730.txt.gz · Last modified: 2024/02/07 13:02 by dblume