-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding zsh-autosuggestion plugin via bootstrap config
- Loading branch information
Showing
2 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -232,7 +232,7 @@ configureSoftware() { | |
printf "#################################################################\n\n" | ||
|
||
command -v bat > /dev/null 2>&1 && { | ||
printf "Install Catppuccin for Bat\n" | ||
printf "Install 'Catppuccin' theme for Bat\n" | ||
|
||
tmp=$(mktemp -d) | ||
git clone [email protected]:catppuccin/bat.git "$tmp" | ||
|
@@ -242,10 +242,16 @@ configureSoftware() { | |
printf 'Preview themes using `bat --list-themes | fzf --preview="bat --theme={} --color=always <path to file>"`\n' | ||
} | ||
|
||
fzf_tab_dir="${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab" | ||
if [ ! -d "${HOME}/.oh-my-zsh" ]; then | ||
printf "Install `fzf-tab` ZSH plugin\n" | ||
git clone https://github.com/Aloxaf/fzf-tab "$fzf_tab_dir" | ||
plugin_dir="${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab" | ||
if [ ! -d "${plugin_dir}" ]; then | ||
printf "Install 'fzf-tab' ZSH plugin\n" | ||
git clone https://github.com/Aloxaf/fzf-tab "$plugin_dir" | ||
fi | ||
|
||
zsh_autosuggestions_dir="${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh_autosuggestions" | ||
if [ ! -d "${plugin_dir}" ]; then | ||
printf "Install 'zsh_autosuggestions' ZSH plugin\n" | ||
git clone https://github.com/zsh-users/zsh-autosuggestions "$plugin_dir" | ||
fi | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters