aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxero <x@xero.nu>2014-05-27 17:35:49 -0400
committerxero <x@xero.nu>2014-05-27 17:35:49 -0400
commit33dda7cc3ad42553778f0a4fe536c045bc307245 (patch)
tree4b990d5081227b039021d12d7be0e09723f5c916
parent823f193ff9431ddd33f52ff8e05887b89ed41fb6 (diff)
parentcc929f1132c159749899c7d60f2e389dd21df2b2 (diff)
downloaddotfiles_ascii-33dda7cc3ad42553778f0a4fe536c045bc307245.tar.xz
dotfiles_ascii-33dda7cc3ad42553778f0a4fe536c045bc307245.zip
add zsh function for colored man pages.
-rw-r--r--.zsh/colored-man-pages.zsh7
-rw-r--r--.zshrc3
-rw-r--r--README.md3
3 files changed, 12 insertions, 1 deletions
diff --git a/.zsh/colored-man-pages.zsh b/.zsh/colored-man-pages.zsh
new file mode 100644
index 0000000..f0a96a0
--- /dev/null
+++ b/.zsh/colored-man-pages.zsh
@@ -0,0 +1,7 @@
+export LESS_TERMCAP_mb=$'\E[01;31m'
+export LESS_TERMCAP_md=$'\E[01;38;5;74m'
+export LESS_TERMCAP_me=$'\E[0m'
+export LESS_TERMCAP_se=$'\E[0m'
+export LESS_TERMCAP_so=$'\E[38;33;246m'
+export LESS_TERMCAP_ue=$'\E[0m'
+export LESS_TERMCAP_us=$'\E[04;38;5;146m'
diff --git a/.zshrc b/.zshrc
index 012a9cb..d261c44 100644
--- a/.zshrc
+++ b/.zshrc
@@ -93,6 +93,9 @@ preexec_functions+='preexec_update_git_vars'
precmd_functions+='precmd_update_git_vars'
chpwd_functions+='chpwd_update_git_vars'
+#█▓▒░ load configs
+for config_file (~/.zsh/*.zsh) source $config_file
+
#█▓▒░ custom prompts
#█▓▒░dual line
diff --git a/README.md b/README.md
index 826b9e1..d0c9b0f 100644
--- a/README.md
+++ b/README.md
@@ -24,9 +24,10 @@
mc > midnight commander ui colors
ncmpcpp > ncurses mpc++ ui/color settings
sublime-text-2 > greybeard theme
+ vimrc > vim custom airline bar and plugins
Xdefaults > urxvt ui/color settings
xinitrc > x bootstrap for awesome wm on crunchbang
zshrc > z shell settings, aliases, prompts
```
-![](https://raw.github.com/xero/dotfiles/master/preview.png) \ No newline at end of file
+![](https://raw.github.com/xero/dotfiles/master/preview.png)