summaryrefslogtreecommitdiff
path: root/bash/.bash_aliases
diff options
context:
space:
mode:
Diffstat (limited to 'bash/.bash_aliases')
-rw-r--r--bash/.bash_aliases3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/.bash_aliases b/bash/.bash_aliases
index 24ffcf5..397a823 100644
--- a/bash/.bash_aliases
+++ b/bash/.bash_aliases
@@ -23,3 +23,6 @@ alias l='ls -CF'
# vim open multiple files in tabs
alias vim='vim -p'
+
+# show me the terminal colors
+alias 256color='(x=`tput op` y=`printf %76s`;for i in {0..256};do o=00$i;echo -e ${o:${#o}-3:3} `tput setaf $i;tput setab $i`${y// /=}$x;done)'