This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
RED='\033[0;31m' | |
YELLOW='\033[1;93m' | |
PURPLE='\033[0;35m' | |
GREEN='\033[0;32m' | |
BLUE='\033[0;94m' | |
NC='\033[0m' # No Color | |
APP_FNAME=$(basename -- "$0") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#--------------------------------------------------------------------------------------------------------------------------------------- | |
# | |
# Author: Kyle Brumm | |
# Description: File used to hold Bash configuration, aliases, functions, completions, etc... | |
# | |
# Sections: | |
# 1. ENVIRONMENT SETUP | |
# 2. MAKE TERMINAL BETTER | |
# 3. FOLDER MANAGEMENT | |
# 4. MISC ALIAS' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# keep contents in sync with .profile (except the .bashrc call) | |
export CONDA_DIR="/opt/${USER}/mamba" | |
export PATH="${CONDA_DIR}/bin:$PATH" | |
export CONFIGURE_OPTS="--enable-optimizations" | |
export PYTHON_CFLAGS="-pipe -m64 -march=generic64 -mtune=native" | |
export PYTHON_MAKE_OPTS="-j$(nproc)" | |
export PYTHON_MAKE_INSTALL_OPTS="$PYTHON_MAKE_OPTS" | |
export PYENV_ROOT="$HOME/.pyenv" | |
export PATH="$PYENV_ROOT/bin:$PATH" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sourced on shell startup | |
# Also sourced on login since .bash_profile calls this | |
# Add extra binaries as needed | |
export PATH="${HOME}/.nimble/bin/:${PATH}" | |
# Set up Java's environment | |
export JAVA_HOME="/usr/lib/jvm/default-runtime" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo ".bash_profile" | |
# Harden homebrew | |
# from: https://github.com/AtropineTears/TheMacHardeningScripts/blob/main/AutoHarden_MacOSX/scripts/brew/brew-harden.sh | |
export HOMEBREW_NO_INSECURE_REDIRECT=1 | |
export HOMEBREW_FORCE_BREWED_CURL=1 | |
export HOMEBREW_AUTO_UPDATE_SECS=60 | |
export HOMEBREW_DISPLAY_INSTALL_TIMES=1 | |
export HOMEBREW_NO_ANALYTICS=1 | |
export HOMEBREW_AUTO_UPDATE_SECS=300 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BASH PROFILE!! | |
# reload without closing terminal window with $ source ~/.bash_profile | |
# Alias' | |
export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd" | |
alias ls="ls -G -a -l" | |
alias glog="git log --graph --date-order --date=relative --color=always --oneline" | |
alias gstat="git status -s" | |
alias mm?="git branch --merged master" | |
alias cdd="rm -rf ~/Library/Developer/Xcode/DerivedData" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |