MacOS: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
m (add encfs after osxfuse is installed)
m (fix up .bash_alises / .bash_profile)
Line 15: Line 15:
</syntaxhighlight>
</syntaxhighlight>


Add to ~/.profile
~/.bashrc
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
# wget -O .bash_aliases https://raw.githubusercontent.com/drew-holt/ubuntu-setup-bash/master/bash_profile
if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi
git-pers
</syntaxhighlight>
~/.bash_profile
<syntaxhighlight lang=bash>
. "$HOME/.bashrc"
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
parse_git_branch() {
    git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\h:\[\033[32m\]\W\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "
</syntaxhighlight>
</syntaxhighlight>


Line 34: Line 51:
         interactive = auto
         interactive = auto
         diff = auto
         diff = auto
</syntaxhighlight>
~/.bash_profile
<syntaxhighlight lang=bash>
parse_git_branch() {
    git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\h:\[\033[32m\]\W\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "
</syntaxhighlight>
</syntaxhighlight>



Revision as of 22:18, 31 May 2020

macOS Mojave 10.14.6 (at the time of this writing)

First manually:

  • brew
  • synergy
  • google chrome
  • google drive
  • firefox
  • audacity
  • keybase

Then Via Brew:

brew install ansible atomicparsley bash-completion ffmpeg git gnu-sed gnupg hub imagemagick jq kpcli nmap nvm openconnect openssl openvpn p7zip pstree psutils rename rbenv shellcheck sqlitebrowser telnet watch unrar wget xz

~/.bashrc

# wget -O .bash_aliases https://raw.githubusercontent.com/drew-holt/ubuntu-setup-bash/master/bash_profile
if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

git-pers

~/.bash_profile

. "$HOME/.bashrc"

[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"

parse_git_branch() {
     git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\h:\[\033[32m\]\W\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "

~/.gitconfig

[user]
        name = Drew Holt
        email = XXXXXXXXXXXXXXXX
[gpg]
        program = /usr/local/bin/gpg
#[credential]
#       helper = osxkeychain
[color]
        status = auto
        branch = auto
        interactive = auto
        diff = auto

Then Via Brew Cask:

brew cask install android-file-transfer atom gimp inkscape java keepassxc osxfuse qbittorrent slack vlc tunnelblick vnc-viewer wireshark

After osxfuse is installed

brew install sshfs encfs

Install packages via apm (atom package manager):

Pull from github.com/drew-holt/ubuntu_setup_bash.sh

Then Larger Via Brew Cask:

brew cask install libreoffice

Pipe to clipboard from terminal

cat list_of_stuff | pbcopy

Setup git

populate or import ~/.gnupg/
gpg --list-keys
brew install pinentry-mac
git config --global gpg.program /usr/local/bin/gpg

Other OS X Software

  • XQuartz
  • SoundFlower - https://github.com/mattingalls/Soundflower
  • 32 Lives (32-bit to 64-bit Audio Units and VST plug-ins adapter)
  • 3T MongoChef
  • Android Studio
  • Arduino
  • Blender
  • Cura
  • IntelliJ IDEA CE
  • OminGraffle
  • Slic3r
  • VirtualBox
  • Xcode
  • ChefDK
  • SketchUp
  • Gitter

other brew

gradle24
maven
rvm ** using rbenv now

To-do

  • Time Machine Backup
  • Proper Windows -> Mac modifier keys
  • Make Windows key not invoke unity when in synergy or Virtualbox