Last active
December 22, 2023 16:40
-
-
Save hG3n/58fe34970a8da24e67e3de400b8f0bda to your computer and use it in GitHub Desktop.
This file contains 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
# ---------------------------- # | |
# --- GENERAL ZSH SETTINGS --- # | |
# ---------------------------- # | |
ZSH=$HOME/.zsh # Path to zsh_cfg.sh | |
ZSH_THEME="agnoster" # chosen theme | |
source $ZSH/zsh_cfg.sh # laod zsh config file | |
# path settings | |
export PATH=/usr/local/bin:/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.1.0:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/usr/texbin:/usr/local/Cellar:/usr/local/sbin:/usr/local/texlive/2015/bin/x86_64-darwin/:/usr/local/gnat/bin/:/opt/spark2014/bin:/usr/local/share/dotnet/dotnet:/usr/local/anaconda3/bin:/usr/local/php7/bin | |
# default editor | |
export EDITOR=vim | |
# gimme some locale boi | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
# ---------------------- # | |
# --- LESS HIGHLIGHT --- # | |
# ---------------------- # | |
LESSPIPE=`which src-hilite-lesspipe.sh` | |
export LESSOPEN="| ${LESSPIPE} %s" | |
export LESS='-R' | |
# --------------------- # | |
# --- PLUGIN LOADER --- # | |
# --------------------- # | |
# found in ~/.zsh/plugins/ | |
plugins=(battery) | |
# ---------------------- # | |
# --- ALIAS SETTINGS --- # | |
# ---------------------- # | |
# located here: ~/.zsh/lib/aliases.zsh | |
# -------------------------- # | |
# --- OH-MY-ZSH SETTINGS --- # | |
# -------------------------- # | |
# Set to this to use case-sensitive completion | |
CASE_SENSITIVE="true" | |
# red dots while waiting for completion | |
COMPLETION_WAITING_DOTS="true" | |
# disable bi-weekly auto-update checks | |
# DISABLE_AUTO_UPDATE="true" | |
# change how many often would you like to wait before auto-updates occur? (in days) | |
# export UPDATE_ZSH_DAYS=13 | |
# disable autosetting terminal title. | |
# DISABLE_AUTO_TITLE="true" | |
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh | |
# ------------ # | |
# --- BREW --- # | |
# ------------ # | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
# --------------- # | |
# --- TOOLBOX --- # | |
# --------------- # | |
# Added by Toolbox App | |
export PATH="$PATH:/Users/hgen/Library/Application Support/JetBrains/Toolbox/scripts" | |
# ---------------------------- # | |
# --- NODE VERSION MANAGER --- # | |
# ---------------------------- # | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm | |
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion | |
# Load Angular CLI autocompletion. | |
source <(ng completion script) | |
# ------------- # | |
# --- LLAMA --- # | |
# ------------- # | |
function ll { | |
cd "$(llama "$@")" | |
} | |
# ----------------- # | |
# --- GPT - CLI --- # | |
# ----------------- # | |
alias gpt="/Users/hgen/Desktop/gpt-cli/venv/bin/python /Users/hgen/Desktop/gpt-cli/gpt.py" | |
# newline before each prompt | |
precmd() { | |
echo -e "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment