Compare commits
5 commits
5a125aeecd
...
d333116d7d
Author | SHA1 | Date | |
---|---|---|---|
d333116d7d | |||
965308c321 | |||
9b965fac00 | |||
cd774a8e59 | |||
99d7306c08 |
3 changed files with 14 additions and 9 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
/compiled
|
||||
antidote.plugins.zsh
|
||||
|
|
21
.zshrc
21
.zshrc
|
@ -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.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
|
@ -21,7 +25,7 @@ bindkey "^X^E" edit-command-line
|
|||
### antibody
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
. ${HOME}/.config/zsh/antibody.zsh
|
||||
#. ${HOME}/.config/zsh/antibody.zsh
|
||||
|
||||
### antidote
|
||||
. ~/.antidote/antidote.zsh
|
||||
|
@ -296,11 +300,7 @@ fi
|
|||
|
||||
## Colored manual
|
||||
|
||||
function color_man() {
|
||||
man $@ | bat -p --language="man"
|
||||
}
|
||||
|
||||
alias man="color_man"
|
||||
alias man="env PAGER=\"bat -l man -p\" man"
|
||||
|
||||
## Local only
|
||||
|
||||
|
@ -428,7 +428,12 @@ function ,pkfr() {
|
|||
# pkpr : extract clipboard content sent using the pkfr command
|
||||
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.
|
||||
[[ ! -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:
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
|
Loading…
Reference in a new issue