- 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
- Why Brew install tree?
- shell application to view directory in tree format
- autocomplete:
- git branch: https://apple.stackexchange.com/questions/55875/git-auto-complete-for-branches-at-the-command-line
- host file for ssh
- zsh?
- git (with homebrew? or it comes with osx now?)
[ ] homebrew?apache? nginx?pythonelasticsearchmongodbmaventomcat
[ ] Situate custom_profile- zsh
- Why Brew install tree?
- 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
- need to setup $NVM_HOME variable and update $PATH with it
- 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
- include file specific info from
-
ghfind
- search in chrome on github atgithub.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 ofshell
repo into~/Code/shell
To Learn
Notes for all of these are in remind
script
- grep
- [..] awk
- sed
OSX Specific Ideas
- install osx programs
- disk inventory x:http://www.derlien.com/download.php?file=DiskInventoryX
- macports from source
- get version_num from https://github.com/macports/macports-base/releases/latest/
- download from https://github.com/macports/macports-base/releases/latest/download/MacPorts-<version_num>.tar.bz2
- follow instructions at https://guide.macports.org/#installing.macports.source
- atom + packages?
- vscode?
- iterm review
- powerlevel9k https://github.com/Powerlevel9k/powerlevel9k
- Capture output for errors: https://iterm2.com/documentation-captured-output.html
- Research other zsh themes
- started using bira
- doesn't indicate that local branch is behind
- created bira+gitstatus theme that uses gitstatus script
- https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
- started using bira
- Dirty/behind repo status in prompt
- zsh cheatsheet: https://blog.praveen.science/oh-my-zsh-cheat-sheet/
- Interactive help script
- SSH Autocomplete
- Macports
- Post Install
- add
/opt/local/bin
to your PATH - update with
sudo port -v selfupdate
usetag_name
- add
- get version_num and install
- Post Install
# 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;