summaryrefslogtreecommitdiff
path: root/zsh/.zsh
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-01-02 10:28:41 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-01-02 10:28:41 +0100
commit74b63e12fdeec50cd28b78eab7ad10e210d4fe44 (patch)
tree8de03046ee582b90b0b25a71fc40b3b646ec8477 /zsh/.zsh
parent6409d7d3f51452b3e599374bb83f0a0e0afae67a (diff)
Minor changes
Diffstat (limited to 'zsh/.zsh')
-rw-r--r--zsh/.zsh/functions13
1 files changed, 0 insertions, 13 deletions
diff --git a/zsh/.zsh/functions b/zsh/.zsh/functions
index 411f27a..c5bbb09 100644
--- a/zsh/.zsh/functions
+++ b/zsh/.zsh/functions
@@ -27,19 +27,6 @@ function colo {
# Change color for future sessions
xrdb ${XRESOURCE_FILE}
- # Update termite colorscheme
- TERMITE_CONFIG=~/.config/termite/config
- while read -r line || [[ -n "$line" ]]; do
- case "$line" in
- *background* ) sed -i "s/^background.*$/background = ${line##* }/" ${TERMITE_CONFIG} ;;
- *foreground* ) sed -i "s/^foreground.*$/foreground = ${line##* }/" ${TERMITE_CONFIG} ;;
- *cursorColor* ) sed -i "s/^cursor.*$/cursor = ${line##* }/" ${TERMITE_CONFIG} ;;
- *color[0-9]* ) color=$(echo ${line/:*/} | sed 's/.*color\([0-9]\+\)/\1/');
- sed -i "s/^color${color}\>.*$/color${color} = ${line##* }/" ${TERMITE_CONFIG} ;;
- * ) ;;
- esac
- done < ${XRESOURCE_FILE}
-
# Change default environment variable for future sessions
mkdir -p $(dirname ${ZSH_COLORS})