actually fixed chezmoi on phone
This commit is contained in:
parent
9c0a4ea635
commit
b0910ee44c
16 changed files with 571 additions and 474 deletions
32
realFiles/zsh/other/zshrc
Normal file
32
realFiles/zsh/other/zshrc
Normal file
|
@ -0,0 +1,32 @@
|
|||
# options
|
||||
setopt NO_CLOBBER
|
||||
unsetopt FLOW_CONTROL
|
||||
|
||||
# deduplicate path
|
||||
typeset -U path PATH
|
||||
path+=("$HOME"/.local/bin) # local bin
|
||||
|
||||
# startup banner
|
||||
potentialBanner=('joke bofh' 'joke dad' 'fastfetch')
|
||||
eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
|
||||
|
||||
# antidote
|
||||
test -r "$XDG_DATA_HOME"/antidote/antidote.zsh || git clone https://github.com/mattmc3/antidote.git "$XDG_DATA_HOME"/antidote
|
||||
source "$XDG_DATA_HOME"/antidote/antidote.zsh
|
||||
zstyle ':antidote:bundle' use-friendly-names 'yes'
|
||||
antidote load
|
||||
|
||||
# load programs
|
||||
smartcache eval zoxide init --cmd cd zsh
|
||||
smartcache eval atuin init zsh
|
||||
smartcache eval direnv hook zsh
|
||||
|
||||
# source files
|
||||
source "$ZDOTDIR"/files/aliases.zsh
|
||||
source "$ZDOTDIR"/files/sshcomp.zsh
|
||||
|
||||
# local overrides
|
||||
for sourced in "$XDG_DATA_HOME"/zsh/files/*; do source $sourced; done
|
||||
|
||||
# theme
|
||||
eval "$(oh-my-posh init zsh --config="$XDG_CACHE_HOME/oh-my-posh/themes/emodipt-extend.omp.json")"
|
Loading…
Add table
Add a link
Reference in a new issue