-
-
Save MTCoster/896bb0b57a9d39baab4d83dbca431a7d to your computer and use it in GitHub Desktop.
zehra for YSU issue
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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
FPATH="$(brew --prefix)/opt/curl/share/zsh/site-functions:${FPATH}"; | |
FPATH="${HOME}/.zfunc:${FPATH}"; | |
autoload -U bashcompinit; | |
bashcompinit; | |
# --- BEGIN PLUGIN MANAGER --- | |
source "${HOME}/.zplug/init.zsh"; | |
zplug "zplug/zplug", hook-build:"zplug --self-manage" | |
zplug "lib/directories", from:oh-my-zsh | |
zplug "lib/key-bindings", from:oh-my-zsh | |
zplug "plugins/docker", from:oh-my-zsh | |
zplug "plugins/git", from:oh-my-zsh | |
zplug "plugins/iterm2", from:oh-my-zsh | |
zplug "plugins/macos", from:oh-my-zsh | |
zplug "plugins/rust", from:oh-my-zsh | |
zplug "Aloxaf/fzf-tab" | |
zplug "joshskidmore/zsh-fzf-history-search" | |
zplug "MichaelAquilina/zsh-you-should-use" | |
zplug "wfxr/forgit" | |
zplug "zsh-users/zsh-completions" | |
# These plugins must come after compinit (hence defer >= 2) | |
zplug "zsh-users/zsh-autosuggestions", defer:2 | |
zplug "zdharma-continuum/fast-syntax-highlighting", defer:2 | |
zplug "romkatv/powerlevel10k", as:theme | |
zplug load; | |
# --- END PLUGIN MANAGER --- | |
# Set by oh-my-zsh in lib/directories | |
unalias l; | |
autoload zmv; | |
HISTFILE="${HOME}/.zsh_history"; | |
HISTSIZE=10000; | |
SAVEHIST=10000; | |
setopt auto_cd; | |
setopt inc_append_history_time; | |
bindkey -v; | |
bindkey '^q' push-line-or-edit; | |
compdef _openssl openssl3 | |
if [ -e "${HOME}/.iterm2_shell_integration.zsh" ]; then | |
source "${HOME}/.iterm2_shell_integration.zsh"; | |
fi | |
eval "$(rbenv init -)" | |
source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc' | |
compctl -k "(($(awk '/^name[^.]*$/ {print $2}' $(kpsewhich -var-value TEXMFROOT)/tlpkg/texlive.tlpdb)))" texdoc | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
# pipx completion | |
eval "$($(brew --prefix pipx)/libexec/bin/register-python-argcomplete pipx)" | |
# perlbrew | |
source '/usr/local/perl5/etc/bashrc'; | |
PATH="/Users/Matt/perl5/bin${PATH:+:${PATH}}"; export PATH; | |
PERL5LIB="/Users/Matt/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; | |
PERL_LOCAL_LIB_ROOT="/Users/Matt/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; | |
PERL_MB_OPT="--install_base \"/Users/Matt/perl5\""; export PERL_MB_OPT; | |
PERL_MM_OPT="INSTALL_BASE=/Users/Matt/perl5"; export PERL_MM_OPT; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment