Alpha Chen 1 year ago committed by Alpha Chen
parent 78cedd683b
commit 9c58ed765b
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -10,6 +10,11 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi fi
export PATH=~/.dotfiles/bin:$PATH
export EDITOR=nvim
export VISUAL=nvim
export RPROMPT=
if command -v direnv &> /dev/null; then if command -v direnv &> /dev/null; then
eval "$(direnv hook zsh)" eval "$(direnv hook zsh)"
fi fi
@ -18,10 +23,6 @@ export NIX_PATH=${NIX_PATH:+$NIX_PATH:}$HOME/.nix-defexpr/channels:/nix/var/nix/
zstyle :prompt:pure:prompt:success color green zstyle :prompt:pure:prompt:success color green
export EDITOR=nvim
export VISUAL=nvim
export RPROMPT=
unsetopt correct # Don't autocorrect unsetopt correct # Don't autocorrect
unsetopt flowcontrol # So ^S and ^Q can be used unsetopt flowcontrol # So ^S and ^Q can be used
setopt no_nomatch # Pass bad matches on setopt no_nomatch # Pass bad matches on
@ -42,8 +43,8 @@ function eject { command hdiutil eject `df | grep Volumes | grep -i "$@" | ruby
# allow for pasting commands from the interwebs with a preceding $ prompt # allow for pasting commands from the interwebs with a preceding $ prompt
function \$() { "$@" } function \$() { "$@" }
if [ -e $HOMEBREW_PREFIX/share/z.lua/z.lua ]; then if [ -e $(brew --prefix z.lua)/share/z.lua/z.lua ]; then
eval "$(lua $HOMEBREW_PREFIX/share/z.lua/z.lua --init zsh enhanced fzf)" eval "$(lua $(brew --prefix z.lua)/share/z.lua/z.lua --init zsh enhanced fzf)"
fi fi
if [ $commands[eza] ]; then if [ $commands[eza] ]; then

Loading…
Cancel
Save