aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zsh/.config
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-08-23 13:44:58 -0500
committerToby Vincent <tobyv13@gmail.com>2022-08-23 13:44:58 -0500
commit9309c2e3842fe1dd0b26566674ff0dc8ab7420a1 (patch)
tree440c5d4199e983edb019c6ca774c75b878c353a2 /zsh/.config
parent0f1cc96cc3e8006184ba4b965ce2bb7060a97dc7 (diff)
fix(zsh): fix type in output redirection
Diffstat (limited to 'zsh/.config')
-rw-r--r--zsh/.config/zsh/.zshrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 36c6c64..0e6800d 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -59,15 +59,15 @@ export ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd completion)
# https://github.com/zsh-users/zsh-autosuggestions#suggestion-highlight-style
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#4f4738"
-command -v fd >/dev/null 2&>1 && _fzf_compgen_path() {
+command -v fd >/dev/null 2>&1 && _fzf_compgen_path() {
fd --hidden --follow --exclude ".git" . "$1"
}
-command -v fd >/dev/null 2&>1 && _fzf_compgen_dir() {
+command -v fd >/dev/null 2>&1 && _fzf_compgen_dir() {
fd --type d --hidden --follow --exclude ".git" . "$1"
}
-command -v rga >/dev/null 2&>1 && rgi() {
+command -v rga >/dev/null 2>&1 && rgi() {
RG_PREFIX="rga --files-with-matches"
local file
file="$(
@@ -81,5 +81,5 @@ command -v rga >/dev/null 2&>1 && rgi() {
xdg-open "$file"
}
-command -v starship >/dev/null 2&>1 && source <(starship init zsh)
-command -v sheldon >/dev/null 2&>1 && source <(sheldon source)
+command -v starship >/dev/null 2>&1 && source <(starship init zsh)
+command -v sheldon >/dev/null 2>&1 && source <(sheldon source)