diff options
-rw-r--r-- | .zshrc | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,6 +1,6 @@ # antibody bundle < ~/.zsh_plugins.txt > ~/.zsh_plugins.sh - -export PATH=$PATH:~/bin:$HOME/.cargo/bin +export GEM_HOME="$(ruby -e 'puts Gem.user_dir')" +export PATH="$PATH:~/bin:$HOME/.cargo/bin:$GEM_HOME/bin" autoload -Uz compinit typeset -i updated_at=$(date +'%j' -r ~/.zcompdump 2>/dev/null || stat -f '%Sm' -t '%j' ~/.zcompdump 2>/dev/null) @@ -35,8 +35,10 @@ bindkey '^[3;5~' delete-char export NVM_LAZY_LOAD=true export NVM_LAZY_LOAD_EXTRA_COMMANDS=('vim') -export FZF_DEFAULT_COMMAND='fd --type file' + +export FZF_DEFAULT_COMMAND='rg --files' export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" +export FZF_CTRL_T_OPTS="--preview 'bat --color=always --style=numbers --line-range=:500 {}'" export GPG_TTY=$(tty) @@ -57,3 +59,5 @@ eval $(keychain --eval --quiet id_rsa) case $(uname -a) in *Microsoft*) unsetopt BG_NICE ;; esac + +eval "$(starship init zsh)" |