diff --git a/zsh/bin/colortest b/scripts/colortest similarity index 100% rename from zsh/bin/colortest rename to scripts/colortest diff --git a/zsh/bin/colortest.awk b/scripts/colortest.awk similarity index 100% rename from zsh/bin/colortest.awk rename to scripts/colortest.awk diff --git a/zsh/bin/colortest2 b/scripts/colortest2 similarity index 100% rename from zsh/bin/colortest2 rename to scripts/colortest2 diff --git a/zsh/bin/colortest2.awk b/scripts/colortest2.awk similarity index 100% rename from zsh/bin/colortest2.awk rename to scripts/colortest2.awk diff --git a/zsh/bin/insert-text-face b/scripts/insert-text-face similarity index 100% rename from zsh/bin/insert-text-face rename to scripts/insert-text-face diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 2d70658..8ffd490 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -13,7 +13,7 @@ is_android() { } command_exists() { - command -v "$1" >/dev/null 2>&1 + command -v "$1" &>/dev/null } source_if_exists() { diff --git a/zsh/path.zsh b/zsh/path.zsh index 56628cd..0f7de56 100644 --- a/zsh/path.zsh +++ b/zsh/path.zsh @@ -47,7 +47,7 @@ path=("$GOPATH/bin" "${path[@]}") path=(~/.local/bin "${path[@]}") # add my binaries and completions -path=("$ZSH_DOTFILES/bin" "${path[@]}") +path=("$ZSH_DOTFILES/../scripts" "${path[@]}") fpath=("$ZSH_DOTFILES/completions" "${fpath[@]}") # check for Rust installed via rustup