2026
This commit is contained in:
52
.zshrc
Normal file
52
.zshrc
Normal file
@@ -0,0 +1,52 @@
|
||||
# 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
|
||||
|
||||
# Lines configured by zsh-newuser-install
|
||||
HISTFILE=~/.histfile
|
||||
HISTSIZE=2000
|
||||
SAVEHIST=2000
|
||||
bindkey -v
|
||||
# End of lines configured by zsh-newuser-install
|
||||
# The following lines were added by compinstall
|
||||
bindkey "\e[3~" delete-char
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
|
||||
# zsh extensionst
|
||||
source /data/kits/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source /data/kits/zsh/powerlevel10k/powerlevel10k.zsh-theme
|
||||
source /data/kits/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
eval `dircolors /data/kits/zsh/dircolor/bliss.dircolors`
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="/data/runtimes/julia/bin/:$PATH"
|
||||
export PATH="/data/runtimes/gurobi/linux64/bin/:$PATH"
|
||||
export PATH="/data/runtimes/conda/bin:$PATH"
|
||||
export PATH="/data/runtimes/nodejs/bin:$PATH"
|
||||
export EDITOR=nvim
|
||||
export TERM='xterm-256color'
|
||||
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
|
||||
# >>> juliaup initialize >>>
|
||||
|
||||
# !! Contents within this block are managed by juliaup !!
|
||||
|
||||
path=('/data/runtimes/julia/bin' $path)
|
||||
export PATH
|
||||
|
||||
# <<< juliaup initialize <<<
|
||||
zshaddhistory() {
|
||||
whence ${${(z)1}[1]} >/dev/null || return 2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user