mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-06-06 15:10:52 +00:00
update init
This commit is contained in:
14
.zshrc
14
.zshrc
@@ -1,9 +1,6 @@
|
|||||||
export GOPATH=$HOME/.go
|
export GOPATH=$HOME/.go
|
||||||
export GOPROXY=https://goproxy.cn,direct
|
export GOPROXY=https://goproxy.cn,direct
|
||||||
|
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
|
||||||
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
|
|
||||||
|
|
||||||
export CARGO_PATH=$HOME/.cargo
|
export CARGO_PATH=$HOME/.cargo
|
||||||
|
|
||||||
export PATH="/opt/homebrew/sbin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin"
|
export PATH="/opt/homebrew/sbin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin"
|
||||||
@@ -15,11 +12,10 @@ source $HOME/.antigen/antigen.zsh
|
|||||||
antigen use oh-my-zsh
|
antigen use oh-my-zsh
|
||||||
|
|
||||||
antigen bundle git
|
antigen bundle git
|
||||||
antigen bundle pip
|
|
||||||
antigen bundle kubectl
|
antigen bundle kubectl
|
||||||
antigen bundle pyenv
|
|
||||||
antigen bundle vi-mode
|
antigen bundle vi-mode
|
||||||
antigen bundle autojump
|
antigen bundle autojump
|
||||||
|
antigen bundle pipenv
|
||||||
antigen bundle Aloxaf/fzf-tab
|
antigen bundle Aloxaf/fzf-tab
|
||||||
antigen bundle wbingli/zsh-wakatime
|
antigen bundle wbingli/zsh-wakatime
|
||||||
|
|
||||||
@@ -27,8 +23,6 @@ antigen bundle zsh-users/zsh-autosuggestions
|
|||||||
antigen bundle zsh-users/zsh-syntax-highlighting
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||||
antigen bundle zsh-users/zsh-completions
|
antigen bundle zsh-users/zsh-completions
|
||||||
|
|
||||||
#antigen theme spaceship-prompt/spaceship-prompt
|
|
||||||
|
|
||||||
antigen apply
|
antigen apply
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
@@ -103,14 +97,14 @@ alias kk='kubectl krew'
|
|||||||
alias vim='nvim'
|
alias vim='nvim'
|
||||||
alias vi='nvim'
|
alias vi='nvim'
|
||||||
alias jumper='ssh tangli@10.1.4.14 -p 32200'
|
alias jumper='ssh tangli@10.1.4.14 -p 32200'
|
||||||
alias wol_xps8940="host root.pi.d0zingcat.xyz | cut -d ' ' -f 4 | cat | xargs -I {} wakeonlan -i {} -p 200 'FC:44:82:13:BA:0F'"
|
alias wol_xps8940="host home.d0zingcat.xyz | cut -d ' ' -f 4 | cat | xargs -I {} wakeonlan -i {} -p 200 'FC:44:82:13:BA:0F'"
|
||||||
#alias nerdctl='lima nerdctl'
|
#alias nerdctl='lima nerdctl'
|
||||||
#alias docker='lima docker'
|
#alias docker='lima docker'
|
||||||
alias batc='bat --paging=never'
|
alias batc='bat --paging=never'
|
||||||
alias batcp='bat --plain --paging=never'
|
alias batcp='bat --plain --paging=never'
|
||||||
|
|
||||||
|
|
||||||
function workup() {
|
function m() {
|
||||||
if [[ -n "$TMUX" ]]; then
|
if [[ -n "$TMUX" ]]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
@@ -171,4 +165,6 @@ fi
|
|||||||
[ -f /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc ] && . /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc
|
[ -f /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc ] && . /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc
|
||||||
|
|
||||||
compdef __start_kubectl k
|
compdef __start_kubectl k
|
||||||
|
#autoload -U +X compinit && compinit
|
||||||
|
#autoload -U +X bashcompinit && bashcompinit
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user