This commit is contained in:
Nikolas Weger 2021-06-18 12:01:38 +02:00
parent 6a50884753
commit 4e1f46ab72
2 changed files with 7 additions and 3 deletions

View file

@ -6,6 +6,7 @@ alias mv='mv -i'
alias psg='ps aux | grep -v grep | grep' alias psg='ps aux | grep -v grep | grep'
alias duplHostKeys='cat $HOME/.ssh/known_hosts | cut -d" " -f3 | sort | uniq -d' alias duplHostKeys='cat $HOME/.ssh/known_hosts | cut -d" " -f3 | sort | uniq -d'
alias has="curl -sL https://git.io/_has | bash -s"
alias sc-status="sudo systemctl status" alias sc-status="sudo systemctl status"
alias sc-start="sudo systemctl start" alias sc-start="sudo systemctl start"

View file

@ -21,8 +21,11 @@ ZINIT[ZCOMPDUMP_PATH]="$HOME/.cache/zsh/compdump"
source $HOME/.config/zinit/bin/zinit.zsh source $HOME/.config/zinit/bin/zinit.zsh
# Programs # Programs
zinit ice as"program" from"gh-r" mv"fd* -> fd" pick"fd/fd"; zinit light "sharkdp/fd"
zinit ice as"program" from"gh-r" mv"bat* -> bat" pick"bat/bat"; zinit light "sharkdp/bat" zinit ice as"program" from"gh-r" mv"bat* -> bat" pick"bat/bat"; zinit light "sharkdp/bat"
zinit ice as"program" from"gh-r" mv"exa* -> exa"; zinit light "ogham/exa" zinit ice as"program" from"gh-r" mv"exa* -> exa"; zinit light "ogham/exa"
zinit ice as"program" from"gh-r" mv"ripgrep* -> ripgrep" pick"ripgrep/rg"; zinit light "BurntSushi/ripgrep"
zinit ice as"program" from"gh-r" mv"jq-* -> jq"; zinit light "stedolan/jq"
# Completions and Autosuggestions # Completions and Autosuggestions
zinit ice lucid blockf atpull'zinit creinstall -q .'; zinit light "zsh-users/zsh-completions" zinit ice lucid blockf atpull'zinit creinstall -q .'; zinit light "zsh-users/zsh-completions"
@ -65,15 +68,15 @@ zinit ice lucid; zinit light "b4b4r07/enhancd"
zinit ice lucid; zinit light "jreese/zsh-titles" zinit ice lucid; zinit light "jreese/zsh-titles"
zinit ice lucid; zinit light "urbainvaes/fzf-marks" zinit ice lucid; zinit light "urbainvaes/fzf-marks"
zinit ice lucid; zinit light "Aloxaf/fzf-tab" zinit ice lucid; zinit light "Aloxaf/fzf-tab"
zinit ice lucid; zinit light "wfxr/forgit"
zinit ice lucid; zinit light "reegnz/jq-zsh-plugin"
# syntax highlighting # syntax highlighting
zinit ice lucid atinit"ZINIT[COMPINIT_OPTS]=-C; zpcompinit; zpcdreplay"; zinit light "zdharma/fast-syntax-highlighting" zinit ice lucid atinit"ZINIT[COMPINIT_OPTS]=-C; zpcompinit; zpcdreplay"; zinit light "zdharma/fast-syntax-highlighting"
# Theme # Theme
zinit ice depth=1; zinit light "romkatv/powerlevel10k" zinit ice depth=1; zinit light "romkatv/powerlevel10k"
[[ ! -f "$ZDOTDIR/.p10k.zsh" ]] || source "$ZDOTDIR/.p10k.zsh" # p10k configure || nano ~/.config/dotfiles/zsh/.p10k.zsh
# To customize prompt, run `p10k configure` or edit ~/.config/dotfiles/zsh/.p10k.zsh.
[[ ! -f ~/.config/dotfiles/zsh/.p10k.zsh ]] || source ~/.config/dotfiles/zsh/.p10k.zsh
# Local RC # Local RC
[[ -f "$ZDOTDIR/local/rc.zsh" ]] && source "$ZDOTDIR/local/rc.zsh" [[ -f "$ZDOTDIR/local/rc.zsh" ]] && source "$ZDOTDIR/local/rc.zsh"