From 74b63e12fdeec50cd28b78eab7ad10e210d4fe44 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 2 Jan 2018 10:28:41 +0100 Subject: Minor changes --- zsh/.zsh/functions | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'zsh/.zsh/functions') 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}) -- cgit v1.2.3