Skip to content

Latest commit

 

History

History
132 lines (117 loc) · 4.85 KB

TODO.md

File metadata and controls

132 lines (117 loc) · 4.85 KB

Basic TODOs:

  • Docsify to explain scripts
  • Why do we have .bashrc too?
    • Seems like it the difference is for when you ssh (.bashrc) and vs local (.bash_profile)
  • More Setup
  • GitFetch prevent long timeout
  • Review Learning the Shell
  • cron
  • [..] networking
    • number of users online
    • open ports
  • [..] NVM
    • need to setup $NVM_HOME variable and update $PATH with it
      • ... why?
    • Node/NPM on path
    • after macports installed and updated: port install nvm; also need to add /opt/local/share/nvm/init-nvm.sh to PATH
  • email
  • Make Platform Agnostic
  • better/more vimrc?
  • headless server profile
  • barebones profile? (is this what the bash profile will be?)
  • move github pages to gh-pages/ dir
  • ignore in global .gitfetch - add .gitfetch to ~/.gitignore - git config --global core.excludesfile ~/.gitignore

Script Ideas

  • [..] Doctor script - on change directory? - check for MacPorts updates - check for oh-my-zsh updates - git fetch - node dependencies? - npm audit - node version (package.json>engines OR .nvm file)
  • git fetch on cd (doctor script?)
  • fancy ssh? (change color (based on project?))
    • Different Terminal settings for different servers
    • Default upload bash server settings once created
    • config file somewhere?
  • gitls - display statuses of all git repositories shown
    • include file specific info from git status
  • ghfind - search in chrome on github at github.com/\<owner\>/\<repo\>/find/\<branch\>
  • init.sh script that can be wget from github to do startup in base directory - Verify git can be accessed or set message to install xcode - separate from init.zsh (which requires git repo) - Message to set git configs - Message to setup ssh configs - ssh private key pair - AWS key - Create ~/Code directory - Clone rest of shell repo into ~/Code/shell

To Learn
Notes for all of these are in remind script

  • grep
  • [..] awk
  • sed

OSX Specific Ideas

ZSH

# Find latest release from github

curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api
grep '"tag_name":' | # Get tag line
sed -E 's/.*"([^"]+)".*/\1/'  


# Download from built path: https://github.com/macports/macports-base/releases/download/v<version_num>/MacPorts-<version_num>.tar.bz2

curl <url> -L -o macports.tar.bz2;
extract macports.tar.bz2;

# Follow instructions at https://guide.macports.org/#installing.macports.source

cd Macports-...;
./configure;
make;
sudo make install;