Added nvim / ghostty / starship config
Signed-off-by: Rack Lin <racklin@gmail.com>
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
# Setup fzf
|
||||
# ---------
|
||||
if [[ ! "$PATH" == */opt/homebrew/opt/fzf/bin* ]]; then
|
||||
export PATH="${PATH:+${PATH}:}/opt/homebrew/opt/fzf/bin"
|
||||
PATH="${PATH:+${PATH}:}/opt/homebrew/opt/fzf/bin"
|
||||
fi
|
||||
|
||||
# using fd instead of find
|
||||
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
|
||||
|
||||
# Auto-completion
|
||||
# ---------------
|
||||
[[ $- == *i* ]] && source "/opt/homebrew/opt/fzf/shell/completion.zsh" 2> /dev/null
|
||||
@@ -14,4 +11,3 @@ export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
|
||||
# Key bindings
|
||||
# ------------
|
||||
source "/opt/homebrew/opt/fzf/shell/key-bindings.zsh"
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
# Setting homebrew shellenv
|
||||
[[ ("$(uname)" = "Darwin") && -d "/opt/homebrew" ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
|
||||
@@ -127,4 +126,3 @@ Darwin)
|
||||
[ -f ~/.config-osx.zsh ] && source ~/.config-osx.zsh
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user