mirror of
https://codeberg.org/JasterV/dotfiles.git
synced 2026-04-26 18:40:04 +00:00
97 lines
2.7 KiB
Bash
97 lines
2.7 KiB
Bash
export PATH=$HOME/.cargo/bin:$PATH
|
|
export PATH=$HOME/.bun/bin:$PATH
|
|
export PATH=$HOME/.mix/escripts:$PATH
|
|
# Path to your oh-my-zsh installation.
|
|
export ZSH="$HOME/.oh-my-zsh"
|
|
export CARGO_HOME=$HOME/.cargo/
|
|
|
|
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
|
|
|
|
export VAULT_ADDR=https://vault.helloprima.com:8200
|
|
|
|
export PROJECTS_HOME=~/Documents/Prima
|
|
|
|
# You may need to manually set your language environment
|
|
export LANG=en_US.UTF-8
|
|
|
|
zstyle ':omz:update' mode reminder # just remind me to update when it's time
|
|
|
|
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
|
|
COMPLETION_WAITING_DOTS="true"
|
|
|
|
# Uncomment the following line if you want to disable marking untracked files
|
|
# under VCS as dirty. This makes repository status check for large repositories
|
|
# much, much faster.
|
|
DISABLE_UNTRACKED_FILES_DIRTY="true"
|
|
|
|
# Uncomment the following line if you want to change the command execution time
|
|
# stamp shown in the history command output.
|
|
# You can set one of the optional three formats:
|
|
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
|
# or set a custom format using the strftime function format specifications,
|
|
# see 'man strftime' for details.
|
|
HIST_STAMPS="mm/dd/yyyy"
|
|
|
|
# Preferred editor for local and remote sessions
|
|
if [[ -n $SSH_CONNECTION ]]; then
|
|
export EDITOR='hx'
|
|
else
|
|
export EDITOR='hx'
|
|
fi
|
|
|
|
ZSH_THEME="crunch"
|
|
|
|
plugins=(git rust sudo docker docker-compose fzf)
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
|
if type brew &>/dev/null; then
|
|
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
|
|
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
|
fi
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
|
|
# ALIAS
|
|
alias v="nvim"
|
|
alias dsa="docker stop $(docker ps -qa)"
|
|
alias dra="docker rm $(docker ps -qa)"
|
|
alias gdba="git branch | grep -v "master" | xargs git branch -D"
|
|
|
|
alias vault-login="vault login -method=oidc -path=okta --no-print"
|
|
|
|
|
|
eval "$(/home/victor-martinez/.local/bin/mise activate zsh)"
|
|
eval "$(zellij setup --generate-auto-start zsh)"
|
|
|
|
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
|
|
|
[ -f "/home/victor-martinez/.ghcup/env" ] && . "/home/victor-martinez/.ghcup/env" # ghcup-env
|
|
|
|
source <(jj util completion zsh)
|
|
|
|
autoload -U +X bashcompinit && bashcompinit
|
|
complete -o nospace -C /home/linuxbrew/.linuxbrew/Cellar/vault/1.19.0/bin/vault vault
|
|
|
|
fpath+=~/.zfunc
|
|
autoload -Uz compinit && compinit
|
|
|
|
# bun completions
|
|
[ -s "/home/victor-martinez/.bun/_bun" ] && source "/home/victor-martinez/.bun/_bun"
|
|
|
|
# Add zsh functions
|
|
fpath+=${ZDOTDIR:-~}/.zsh_functions
|
|
|
|
# ZVM
|
|
export ZVM_INSTALL="$HOME/.zvm/self"
|
|
export PATH="$PATH:$HOME/.zvm/bin"
|
|
export PATH="$PATH:$ZVM_INSTALL/"
|
|
|
|
# opencode
|
|
export PATH=/home/victor-martinez/.opencode/bin:$PATH
|
|
|
|
# Added by flyctl installer
|
|
export FLYCTL_INSTALL="/home/victor-martinez/.fly"
|
|
export PATH="$FLYCTL_INSTALL/bin:$PATH"
|