diff options
author | Sadbeast <sadbeast@sadbeast.com> | 2021-07-09 14:32:43 -0500 |
---|---|---|
committer | Sadbeast <sadbeast@sadbeast.com> | 2021-07-09 14:32:43 -0500 |
commit | 941a08075fa2093cf008954d82787e302210a418 (patch) | |
tree | f90c601cb8704776a693fe100817e390f6c3d3b7 /.zshrc | |
parent | 4f6008e194edef158a15b9336d62c3cfb0a0ba5c (diff) | |
download | cfg-941a08075fa2093cf008954d82787e302210a418.tar.gz cfg-941a08075fa2093cf008954d82787e302210a418.tar.bz2 |
add starship, add ripgrep and bat to fzf
Diffstat (limited to '.zshrc')
-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)" |