multiple changes
This commit is contained in:
16
zsh/.zshrc
16
zsh/.zshrc
@@ -1,3 +1,10 @@
|
||||
# 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.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
#
|
||||
# Executes commands at the start of an interactive session.
|
||||
#
|
||||
@@ -45,7 +52,8 @@ fi
|
||||
# Set the default Less options.
|
||||
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
|
||||
# Remove -X and -F (exit if the content fits on one screen) to enable it.
|
||||
export LESS='-F -g -i -M -R -S -w -X -z-4'
|
||||
export LESS='-g -i -M -R -S -w -z-4 -j4a'
|
||||
|
||||
|
||||
# Handy alias
|
||||
alias fail="less +F"
|
||||
@@ -187,6 +195,8 @@ fi
|
||||
|
||||
setopt interactivecomments
|
||||
|
||||
export WASMTIME_HOME="$HOME/.wasmtime"
|
||||
|
||||
export PATH="$WASMTIME_HOME/bin:$PATH"
|
||||
export FZFZ_RECENT_DIRS_TOOL=fasd
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
Reference in New Issue
Block a user