51 lines
2.1 KiB
Bash
51 lines
2.1 KiB
Bash
# If you come from bash you might have to change your $PATH.
|
|
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
|
export PATH=/opt/homebrew/bin:/usr/local/bin:/Users/D068796/.zig:$PATH
|
|
|
|
export ARTIFACTORY_USER="d068796"
|
|
export ARTIFACTORY_PASSWORD="cmVmdGtuOjAxOjE3Njg1Nzc1Mjc6R01YMGhwdGtsSmM0WXEyOVR0T3VlbWZoZUlY"
|
|
|
|
autoload -U promptinit; promptinit
|
|
prompt pure
|
|
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
|
|
ZSH_DISABLE_COMPFIX=true
|
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=5'
|
|
alias ods="cd ~/personal_workspace/order-delivery-schedule"
|
|
alias odsd="ods && docker compose up --build -d"
|
|
alias odsm="cd ~/personal_workspace/order-delivery-schedule/app && npm run serve:mock"
|
|
alias odsb="ods && mvn clean package -DskipTests"
|
|
alias odst="tmux attach -t ods || tmux new -s ods"
|
|
alias lg="lazygit"
|
|
alias ls="ls -G"
|
|
alias sf='nvim $(fzf --preview="bat --color=always {}")'
|
|
alias sfm='nvim $(fzf -m --preview="bat --color=always {}")'
|
|
|
|
[ -f "/Users/D068796/.ghcup/env" ] && . "/Users/D068796/.ghcup/env" # ghcup-env
|
|
|
|
### Added by Zinit's installer
|
|
if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then
|
|
print -P "%F{33} %F{220}Installing %F{33}ZDHARMA-CONTINUUM%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f"
|
|
command mkdir -p "$HOME/.local/share/zinit" && command chmod g-rwX "$HOME/.local/share/zinit"
|
|
command git clone https://github.com/zdharma-continuum/zinit "$HOME/.local/share/zinit/zinit.git" && \
|
|
print -P "%F{33} %F{34}Installation successful.%f%b" || \
|
|
print -P "%F{160} The clone has failed.%f%b"
|
|
fi
|
|
|
|
source "$HOME/.local/share/zinit/zinit.git/zinit.zsh"
|
|
autoload -Uz _zinit
|
|
(( ${+_comps} )) && _comps[zinit]=_zinit
|
|
|
|
# Load a few important annexes, without Turbo
|
|
# (this is currently required for annexes)
|
|
zinit light-mode for \
|
|
zdharma-continuum/zinit-annex-as-monitor \
|
|
zdharma-continuum/zinit-annex-bin-gem-node \
|
|
zdharma-continuum/zinit-annex-patch-dl \
|
|
zdharma-continuum/zinit-annex-rust
|
|
|
|
### End of Zinit's installer chunk
|
|
# zsh-fzf-history-search
|
|
zinit ice lucid wait'0'
|
|
zinit light joshskidmore/zsh-fzf-history-search
|