-
Notifications
You must be signed in to change notification settings - Fork 2
/
5-exports.rc
67 lines (55 loc) · 2.13 KB
/
5-exports.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# shellcheck disable=SC2148 disable=SC1090 shell=bash
### Exports ###
export SAM_CLI_TELEMETRY=0 TELEMETRY=0 ENABLE_TELEMETRY=0 SEND_TELEMETRY=0 DO_NOT_TRACK=1 ANALYTICS=0 DISABLE_ANALYTICS=1 NO_ANALYTICS=1 DOTNET_CLI_TELEMETRY_OPTOUT=1 # General catch-all
export GREP_OPTIONS="--color"
# export LSCOLORS="ExFxCxDxBxegedabagacad"
export LS_COLORS="$(vivid generate dracula)"
export CLICOLOR=1
export GOPATH="${HOME}/go"
export XZ_OPT="--threads=8"
export MU_REPO_SERIAL=false
export EDITOR=vim
# colima / docker
export DOCKER_HOST="unix://$HOME/.colima/docker.sock"
# Tells 'less' not to paginate if less than a page
export LESS="-F -X $LESS"
# Options to fzf command
export FZF_COMPLETION_OPTS='--border --info=inline'
# Export a variable that contains the directory this script is sourced from (e.g. /Users/username/icloud docs/somedir/).
# we can't use BASH_SOURCE[0] because it's not available in zsh
# DOTFILES_DIR="$(cd "$(dirname "$0")" && pwd)"
# export DOTFILES_DIR
# # Global package manager caches to save on disk space
# export PIP_DOWNLOAD_CACHE="${HOME}/Library/Caches/pip"
# export NPM_CONFIG_CACHE="${HOME}/.npm"
## Text formatting shortcuts ##
export _FMT_ITL="\e[3m"
export _FMT_BLD="\e[1m"
export _FMT_RED="\e[31m"
export _FMT_GRN="\e[32m"
export _FMT_YLW="\e[33m"
export _FMT_BLU="\e[34m"
export _FMT_MAG="\e[35m"
export _FMT_CYN="\e[36m"
export _FMT_WHT="\e[37m"
export _FMT_BRED="\e[1;31m"
export _FMT_BGRN="\e[1;32m"
export _FMT_BYLW="\e[1;33m"
export _FMT_BBLU="\e[1;34m"
export _FMT_BMAG="\e[1;35m"
export _FMT_BCYN="\e[1;36m"
export _FMT_BWHT="\e[1;37m"
export _FMT_END="\e[0m" # end of line stop formatting
##
## AI/ML ##
# automatic1111
# export COMMANDLINE_ARGS="${COMMANDLINE_ARGS:-$COMMANDLINE_ARGS --skip-torch-cuda-test --upcast-sampling --opt-sub-quad-attention}" # --use-cpu interrogate
export HF_HUB_ENABLE_HF_TRANSFER=1
export CONDA_SUBDIR=osx-arm64
# SEE ALSO private exports for Ollama things
# if running on macos
# if [[ "$OSTYPE" == "darwin"* ]]; then
# BLAS_INCLUDE_DIRS=/opt/homebrew/Cellar/clblast/1.6.2/
# export CMAKE_ARGS="${CMAKE_ARGS} -DLLAMA_CUDA=off -DLLAMA_METAL=on -DLLAMA_CLBLAST=1"
# fi
export ENABLE_ANALYTICS=0