Compare commits

..

5 commits

Author SHA1 Message Date
d333116d7d
Fix vim options 2024-02-06 18:14:28 +01:00
965308c321
Fix man completion 2024-02-06 18:14:10 +01:00
9b965fac00
Do not use antibody 2024-02-06 18:13:54 +01:00
cd774a8e59
Add zprof 2024-02-06 18:13:18 +01:00
99d7306c08
gitignore 2023-05-08 23:59:33 +02:00
3 changed files with 14 additions and 9 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/compiled /compiled
antidote.plugins.zsh

21
.zshrc
View file

@ -1,3 +1,7 @@
# Enable profiling
if ! [ -z $ZSHDEBUG ]; then
zmodload zsh/zprof
fi
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n] # Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below. # confirmations, etc.) must go above this block; everything else may go below.
@ -21,7 +25,7 @@ bindkey "^X^E" edit-command-line
### antibody ### antibody
autoload -Uz compinit autoload -Uz compinit
compinit compinit
. ${HOME}/.config/zsh/antibody.zsh #. ${HOME}/.config/zsh/antibody.zsh
### antidote ### antidote
. ~/.antidote/antidote.zsh . ~/.antidote/antidote.zsh
@ -296,11 +300,7 @@ fi
## Colored manual ## Colored manual
function color_man() { alias man="env PAGER=\"bat -l man -p\" man"
man $@ | bat -p --language="man"
}
alias man="color_man"
## Local only ## Local only
@ -428,7 +428,12 @@ function ,pkfr() {
# pkpr : extract clipboard content sent using the pkfr command # pkpr : extract clipboard content sent using the pkfr command
alias ,pkpr='piknik -paste | tar xzpvf -' alias ,pkpr='piknik -paste | tar xzpvf -'
# vim: set ft=zsh et sw=0 ts=2 sts=0:
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# Run profiling
if ! [ -z $ZSHDEBUG ]; then
zprof
fi
# vim: set ft=zsh et sw=0 ts=2 sts=0:

View file

@ -1 +0,0 @@