prepare for chezmoi
This commit is contained in:
parent
57383316c8
commit
5246e26a6b
8 changed files with 10 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
zsh/local/*
|
|
@ -1,7 +1,6 @@
|
|||
# Enable Powerlevel10k instant prompt
|
||||
[[ -r "$HOME/.cache/p10k-instant-prompt-${(%):-%n}.zsh" ]] && source "$HOME/.cache/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
|
||||
export fpath=($fpath $ZDOTDIR/local/fpath)
|
||||
export SPACEVIMDIR="$HOME/.config/spacevim/"
|
||||
export FZF_MARKS_FILE=$HOME/.config/fzfmarks
|
||||
export STARSHIP_CONFIG=$ZDOTDIR/starship.toml
|
||||
|
@ -41,6 +40,12 @@ alias cat='bat'
|
|||
alias rm='rm -i'
|
||||
alias cp='cp -i'
|
||||
alias mv='mv -i'
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
alias diff='diff --color=auto'
|
||||
alias ip='ip --color=auto'
|
||||
alias vim='nvim'
|
||||
|
||||
alias sc-status="sudo systemctl status"
|
||||
alias sc-start="sudo systemctl start"
|
||||
|
@ -53,13 +58,9 @@ alias sc-daemon-reload="sudo systemctl daemon-reload"
|
|||
|
||||
alias termbin="nc termbin.com 9999"
|
||||
|
||||
gitpush () { git add .; git commit -m "$*"; git pull; git push }
|
||||
dotupdate () { echo -n "Updating Dotfiles... "; git -C $HOME/.config/dotfiles pull &>/dev/null; echo "done" }
|
||||
themeupdate () { curl -fsSL https://starship.rs/install.sh | bash -s -- --force }
|
||||
|
||||
# Library Files
|
||||
source $ZDOTDIR/files/direnv.zsh
|
||||
source $ZDOTDIR/files/sshagent.zsh
|
||||
source $HOME/.config/dotfiles/.config/dotfiles/files/direnv.zsh
|
||||
source $HOME/.config/dotfiles/.config/dotfiles/files/sshagent.zsh
|
||||
zinit pack for ls_colors
|
||||
zinit snippet OMZL::history.zsh
|
||||
zinit snippet OMZL::functions.zsh
|
||||
|
@ -91,6 +92,7 @@ zinit ice lucid; zinit light "urbainvaes/fzf-marks"
|
|||
zinit ice lucid; zinit light "Aloxaf/fzf-tab"
|
||||
zinit ice lucid; zinit light "wfxr/forgit"
|
||||
zinit ice lucid; zinit light "reegnz/jq-zsh-plugin"
|
||||
[[ -f /home/linuxbrew/.linuxbrew/bin/brew ]] && _evalcache /home/linuxbrew/.linuxbrew/bin/brew shellenv
|
||||
|
||||
# syntax highlighting
|
||||
zinit ice lucid atinit"ZINIT[COMPINIT_OPTS]=-C; zpcompinit; zpcdreplay"; zinit light "zdharma/fast-syntax-highlighting"
|
||||
|
@ -100,4 +102,4 @@ zinit ice depth=1; zinit light "romkatv/powerlevel10k"
|
|||
[[ ! -f "$ZDOTDIR/.p10k.zsh" ]] || source "$ZDOTDIR/.p10k.zsh" # p10k configure || nano ~/.config/dotfiles/zsh/.p10k.zsh
|
||||
|
||||
# Local RC
|
||||
[[ -f "$ZDOTDIR/local/rc.zsh" ]] && source "$ZDOTDIR/local/rc.zsh"
|
||||
[[ -f "$HOME/.config/local/rc.zsh" ]] && source "$HOME/.config/local/rc.zsh"
|
|
@ -1 +0,0 @@
|
|||
rc.zsh
|
Loading…
Add table
Reference in a new issue