diff --git a/roles/dotfiles/files/bashrc b/roles/dotfiles/files/bashrc index 78c5d64..2a69d54 100644 --- a/roles/dotfiles/files/bashrc +++ b/roles/dotfiles/files/bashrc @@ -392,16 +392,6 @@ solarized() { done } -styletest() { - printf "$(tput bold)This text has the bold attribute.${Reset}\n" - printf "$(tput dim)This text has the dim attribute.${Reset}\n" - printf "$(tput smso)This text has the standout (smso) attribute.${Reset}\n" - printf "$(tput smul)This text has the underline (smul) attribute.${Reset}\n" - printf "$(tput blink)This text has the blink attribute.${Reset}\n" - printf "$(tput rev)This text has the reverse attribute.${Reset}\n" - printf "$(tput invis)This text has the invisible attribute.${Reset}\n" -} - ############################################################################## # Run external customizations ############################################################################## diff --git a/roles/dotfiles/files/bin/styletest b/roles/dotfiles/files/bin/styletest new file mode 100755 index 0000000..3f88fe9 --- /dev/null +++ b/roles/dotfiles/files/bin/styletest @@ -0,0 +1,12 @@ +#!/bin/sh + +rst="$(tput sgr0)" + +printf '%s\n' "$(tput bold)This text has the bold attribute.${rst}" +printf '%s\n' "$(tput dim)This text has the dim attribute.${rst}" +printf '%s\n' "$(tput smso)This text has the standout (smso) attribute.${rst}" +printf '%s\n' "$(tput smul)This text has the underline (smul) attribute.${rst}" +printf '%s\n' "$(tput blink)This text has the blink attribute.${rst}" +printf '%s\n' "$(tput rev)This text has the reverse attribute.${rst}" +printf '%s\n' "$(tput invis)This text has the invisible attribute.${rst}" +