Compare commits
4 Commits
12a2e62a9c
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 08cf0ce23e | |||
| 6f21c293ad | |||
| 6235a2c6eb | |||
| 5a78dc26fa |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -15,3 +15,5 @@ gcloud/
|
|||||||
htop/
|
htop/
|
||||||
mcphub
|
mcphub
|
||||||
spicetify
|
spicetify
|
||||||
|
gh/hosts.yml
|
||||||
|
raycast
|
||||||
|
|||||||
16
gh/config.yml
Normal file
16
gh/config.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# What protocol to use when performing git operations. Supported values: ssh, https
|
||||||
|
git_protocol: https
|
||||||
|
# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment.
|
||||||
|
editor:
|
||||||
|
# When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled
|
||||||
|
prompt: enabled
|
||||||
|
# A pager program to send command output to, e.g. "less". Set the value to "cat" to disable the pager.
|
||||||
|
pager:
|
||||||
|
# Aliases allow you to create nicknames for gh commands
|
||||||
|
aliases:
|
||||||
|
co: pr checkout
|
||||||
|
# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport.
|
||||||
|
http_unix_socket:
|
||||||
|
# What web browser gh should use when opening URLs. If blank, will refer to environment.
|
||||||
|
browser:
|
||||||
|
version: "1"
|
||||||
@@ -1,7 +1,5 @@
|
|||||||
# Fig pre block. Keep at the top of this file.
|
|
||||||
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.pre.zsh"
|
|
||||||
# Theme
|
# Theme
|
||||||
fpath+=("$(brew --prefix)/share/zsh/site-functions")
|
fpath+=("/opt/homebrew/share/zsh/site-functions")
|
||||||
fpath+=$HOME/.zsh/pure
|
fpath+=$HOME/.zsh/pure
|
||||||
|
|
||||||
autoload -U promptinit; promptinit
|
autoload -U promptinit; promptinit
|
||||||
@@ -12,21 +10,26 @@ prompt pure
|
|||||||
|
|
||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
export PATH=$HOME/bin:/usr/local/bin:/opt/homebrew/bin:$PATH
|
export PATH=$HOME/bin:/usr/local/bin:/opt/homebrew/bin:$PATH
|
||||||
export PATH=$(go env GOPATH)/bin:$PATH
|
export PATH="$HOME/go/bin:$PATH"
|
||||||
export PATH=/User/oliverhnat/.local/bin/claude:$PATH
|
export PATH=/User/oliverhnat/.local/bin/claude:$PATH
|
||||||
export EDITOR="/opt/homebrew/bin/nvim"
|
export EDITOR="/opt/homebrew/bin/nvim"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
|
|
||||||
|
# Skip compaudit (saves ~150ms on cold start)
|
||||||
|
ZSH_DISABLE_COMPFIX=true
|
||||||
|
|
||||||
export LC_ALL="en_US.UTF-8"
|
export LC_ALL="en_US.UTF-8"
|
||||||
export LC_CTYPE="en_US.UTF-8"
|
export LC_CTYPE="en_US.UTF-8"
|
||||||
|
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||||
|
export GITLAB_URL=https://gitlab.elnino.tech
|
||||||
|
|
||||||
export ANTHROPIC_API_KEY=
|
export ANTHROPIC_API_KEY=
|
||||||
export GEMINI_API_KEY=
|
export GEMINI_API_KEY=
|
||||||
export HOMEBREW_NO_AUTO_UPDATE=1
|
|
||||||
export GITLAB_TOKEN=
|
export GITLAB_TOKEN=
|
||||||
export GITLAB_URL=
|
|
||||||
export TAVILY_API_KEY=
|
export TAVILY_API_KEY=
|
||||||
|
|
||||||
# Set name of the theme to load --- if set to "random", it will
|
# Set name of the theme to load --- if set to "random", it will
|
||||||
@@ -97,10 +100,11 @@ ZSH_THEME=""
|
|||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
|
|
||||||
plugins=(
|
plugins=(
|
||||||
|
tmuxinator
|
||||||
git
|
git
|
||||||
yarn
|
yarn
|
||||||
docker
|
# docker
|
||||||
docker-compose
|
# docker-compose
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
zsh-z
|
zsh-z
|
||||||
zsh-syntax-highlighting # Needs to be the last plugin
|
zsh-syntax-highlighting # Needs to be the last plugin
|
||||||
@@ -135,18 +139,15 @@ source $ZSH/oh-my-zsh.sh
|
|||||||
# Change colors of the LS command output
|
# Change colors of the LS command output
|
||||||
# export LSCOLORS=Dxfxcxdxbxegedabagacad
|
# export LSCOLORS=Dxfxcxdxbxegedabagacad
|
||||||
|
|
||||||
source /Users/oliverhnat/.docker/init-zsh.sh || true # Added by Docker Desktop
|
|
||||||
|
|
||||||
|
|
||||||
# User configuration
|
# User configuration
|
||||||
source ~/.oh-my-zsh/custom/custom_commands.sh
|
source ~/.config/omz-custom/custom_commands.sh
|
||||||
|
source ~/.config/omz-custom/tmux-sessions.sh
|
||||||
|
|
||||||
|
|
||||||
[ -f "/Users/oliverhnat/.ghcup/env" ] && . "/Users/oliverhnat/.ghcup/env" # ghcup-env
|
[ -f "/Users/oliverhnat/.ghcup/env" ] && . "/Users/oliverhnat/.ghcup/env" # ghcup-env
|
||||||
|
|
||||||
. "$HOME/.local/bin/env"
|
. "$HOME/.local/bin/env"
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
source ~/.config/omz-custom/nvm.sh
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|||||||
10
omz-custom/nvm.sh
Normal file
10
omz-custom/nvm.sh
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# NVM lazy loading (speeds up shell startup significantly)
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
nvm() {
|
||||||
|
unset -f nvm node npm npx
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||||
|
nvm "$@"
|
||||||
|
}
|
||||||
|
node() { nvm; unset -f node; node "$@"; }
|
||||||
|
npm() { nvm; unset -f npm; npm "$@"; }
|
||||||
|
npx() { nvm; unset -f npx; npx "$@"; }
|
||||||
Reference in New Issue
Block a user