diff options
| author | seth <[email protected]> | 2022-11-16 20:22:10 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2022-11-16 20:22:10 -0500 |
| commit | ec625679986252986af154d9f0f7125881308338 (patch) | |
| tree | 0babf95069bd29634e4e76588b255493401e9f86 /.config/zsh/.zshrc | |
| parent | a1b2b3cb5840e08a851cec662ebcfa699cfbfa98 (diff) | |
meow
Diffstat (limited to '.config/zsh/.zshrc')
| -rw-r--r-- | .config/zsh/.zshrc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 8f76874..fc8233d 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -3,16 +3,16 @@ # if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then - source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" + source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi -local zdump="${XDG_CACHE_HOME}/zsh/zcompdump" +local zdump="${XDG_CACHE_HOME}/zsh/zdump" local antidote_dir="${ZDOTDIR}/.antidote" # bootstrap antidote if [[ ! -e "$antidote_dir/antidote.zsh" ]] then - git clone --depth=1 https://github.com/mattmc3/antidote.git "$antidote_dir" + git clone --depth=1 https://github.com/mattmc3/antidote.git "$antidote_dir" fi source "${antidote_dir}/antidote.zsh" @@ -40,7 +40,7 @@ bashcompinit compinit -d "$zdump" if [[ ! "${zdump}.zwc" -nt "$zdump" ]] then - zcompile "$zdump" + zcompile "$zdump" fi unset zdump @@ -62,12 +62,12 @@ setopt share_history # clear backbuffer with ctrl-l function clear-screen-and-scrollback() { - echoti civis >"$TTY" - printf '%b' '\e[H\e[2J' >"$TTY" - zle .reset-prompt - zle -R - printf '%b' '\e[3J' >"$TTY" - echoti cnorm >"$TTY" + echoti civis >"$TTY" + printf '%b' '\e[H\e[2J' >"$TTY" + zle .reset-prompt + zle -R + printf '%b' '\e[3J' >"$TTY" + echoti cnorm >"$TTY" } zle -N clear-screen-and-scrollback |
