Skip to content

Instantly share code, notes, and snippets.

@devlinjunker
Created September 23, 2021 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devlinjunker/f1c9b9da2eaed7a83f02d37db68e62e2 to your computer and use it in GitHub Desktop.
Save devlinjunker/f1c9b9da2eaed7a83f02d37db68e62e2 to your computer and use it in GitHub Desktop.
Setup OSX History
ls
git clone https://github.com/devlinjunker/shell.git
cls
port
node
port install nvm
sudo port install nvm
vim ~/.zshrc
nvm
exit
nvm
chsh -s /bin/zsh
nvm
nvm list
ls
port list
sudo port
ls ~/.bash_history
ls ~/.bashrc
ls
ls -al
less .macports
ls .macports
ls .macports/history
less .macports/history
less .profile
vim ~/.zshrc
port
port list
port installed
: 1632328075:0;cd ~/.oh-my-zsh/themes/
: 1632328077:0;ls
: 1632328098:0;ln -s ~/shell/zsh/themes/bira+gitstatus.zsh-theme ./bira+gitstatus.zsh-theme
: 1632328100:0;ls
: 1632328107:0;cd ..
: 1632328111:0;cd ~
: 1632328118:0;vim ~/.zshrc
: 1632328175:0;ls ~/.zshrc.pre-oh-my-zsh
: 1632328178:0;less ~/.zshrc.pre-oh-my-zsh
: 1632328189:0;ls
: 1632328196:0;vim ~/.zshrc
: 1632328230:0;ls
git
git clone https://github.com/devlinjunker/shell.git
ls
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
: 1632328283:0;nvm install 14
: 1632328307:0;cls
: 1632328327:0;ls
: 1632328329:0;cd shell
: 1632328335:0;cls
: 1632328339:0;cd ..
: 1632328341:0;ls
: 1632328344:0;mkdir marin
: 1632328345:0;ls
: 1632328347:0;cd marin
: 1632328404:0;npm install -g nodemon
: 1632328613:0;cls
: 1632328641:0;?
: 1632329267:0;ssh-keygen -t ed25519 -C djunker@marinsoftware.com
: 1632340014:0;git clone https://github.com/jenv/jenv.git ~/.jenv
: 1632340023:0;echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.zshrc\
echo 'eval "$(jenv init -)"' >> ~/.zshrc
: 1632340026:0;vim ~/.zshrc
: 1632340046:0;source ~/.zshrc
: 1632340056:0;jenv doctor
: 1632340077:0;port install java
: 1632340087:0;sudo port install java
: 1632340114:0;sudo port install openjdk
: 1632340121:0;sudo port install openjdk11
: 1632340258:0;jenv add /Library/Java/JavaVirtualMachines/openjdk11-temurin/Contents/Home
: 1632340268:0;jenv versions
: 1632340276:0;java --version
: 1632340285:0;sudo port install openjdk8
: 1632340367:0;jenv add /Library/Java/JavaVirtualMachines/openjdk8-temurin/Contents/Home
: 1632340676:0;jenv enable-plugin export
: 1632340686:0;echo $JAVA_HOME
source ~/shell/zsh/zshrc.sym
# NVM Script added during install
source /opt/local/share/nvm/init-nvm.sh
# Macport PATH added during install
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# maven setup
export M2_HOME=~/marin/apache-maven-3.2.5
export PATH=$PATH:$M2_HOME/bin
# jenv setup
export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"
@devlinjunker
Copy link
Author

devlinjunker commented Oct 22, 2021

Steps:

  1. Download VSCode from Website
  2. Download Postman from App Store
  3. Download Sequel Pro from Website (What about other SQL Viewers)
  4. Download Macports from Website
    • Add Line 7 to ~/.zshrc
  5. Create SSH Key
    • ssh-keygen -t ed25519 -C djunker@marinsoftware.com
  6. Ensure using ZSH
    • chsh -s /bin/zsh
  7. Download and Install Oh-my-zsh
    • sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  8. Download Personal Shell Repo
    • git clone https://github.com/devlinjunker/shell.git ~/shell
    • Add line 1 to ~/.zshrc
    • Install Personal Theme: ln -s ~/shell/zsh/themes/bira+gitstatus.zsh-theme ./bira+gitstatus.zsh-theme
  9. Install NVM using Macports
    • sudo port install nvm
    • Add Line 4 to ~/.zshrc
    • source ~/.zshrc
    • nvm install 14
  10. Download and Install Jenv
    • git clone https://github.com/jenv/jenv.git ~/.jenv
    • echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.zshrc; echo 'eval "$(jenv init -)"' >> ~/.zshrc
    • source ~/.zshrc
    • jenv enable-plugin export
    • jenv doctor
  11. Install Java Versions
    • sudo port install openjdk11
    • jenv add /Library/Java/JavaVirtualMachines/openjdk11-temurin/Contents/Home
  12. Set up Maven?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment