aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitconfig4
-rw-r--r--.zsh/colored-man-pages.zsh7
-rw-r--r--.zshrc3
3 files changed, 14 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index 2d863d1..c6e923f 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -5,5 +5,9 @@
helper = cache
[alias]
graph = log --graph --color --pretty=format:"%C(yellow)%H%C(green)%d%C(reset)%n%x20%cd%n%x20%cn%x20(%ce)%n%x20%s%n"
+ stat = status -sb
+ last = log -1 --stat
+ unstage = reset HEAD --
+ cached = diff --cached
[color]
ui = auto
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