diff --git a/color-test.sh b/color-test.sh new file mode 100755 index 0000000..2e3bc8d --- /dev/null +++ b/color-test.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# Based on: https://gist.github.com/XVilka/8346728 + +awk -v columns=$(tput cols || echo 80) 'BEGIN{ + for (column = 0; column255) g = 510-g; + printf "\033[48;2;%d;%d;%dm", r,g,b; + printf "%s\033[0m", " "; + } +}' diff --git a/zshrc.zsh b/zshrc.zsh index 9d62865..940b167 100644 --- a/zshrc.zsh +++ b/zshrc.zsh @@ -132,7 +132,7 @@ activate_homebrew() { ################################################################################ install_cli_tools() { - brew_install_or_upgrade git fd ripgrep fzf htop jq gnupg tmux + brew_install_or_upgrade git fd ripgrep fzf htop jq gnupg tree tmux # Install fzf key bindings $(brew --prefix fzf)/install --key-bindings --completion --no-update-rc --no-bash --no-fish ln -s $MYZSH_INSTALLED_DIR/tmux.conf $HOME/.tmux.conf @@ -160,7 +160,6 @@ activate_cli_tools () { install_antigen() { brew_install_or_upgrade antigen - # git_install_or_update $ANTIGEN_DIRECTORY "zsh-users/antigen.git" activate_antigen }