diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-01-02 10:28:41 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-01-02 10:28:41 +0100 |
commit | 74b63e12fdeec50cd28b78eab7ad10e210d4fe44 (patch) | |
tree | 8de03046ee582b90b0b25a71fc40b3b646ec8477 /zsh | |
parent | 6409d7d3f51452b3e599374bb83f0a0e0afae67a (diff) |
Minor changes
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zsh/functions | 13 | ||||
-rw-r--r-- | zsh/.zshenv | 10 |
2 files changed, 2 insertions, 21 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}) diff --git a/zsh/.zshenv b/zsh/.zshenv index 140e8fd..95701e8 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -1,10 +1,4 @@ export ZDOTDIR=$HOME/.zsh +export PATH="$HOME/bin:$HOME/bin:/usr/lib/surfraw${PATH:+:}$PATH" -# Guix stuff -export PATH="$HOME/bin:$HOME/.guix-profile/bin:$HOME/.guix-profile/sbin:$HOME/bin:/usr/lib/surfraw${PATH:+:}$PATH" -export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale -export GUIX_PACKAGE_PATH=$HOME/Dropbox/projects/guix-packages -export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH -export GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH -export CPATH="/home/urbain/.guix-profile/include${CPATH:+:}$CPATH" -export LIBRARY_PATH="/home/urbain/.guix-profile/lib${LIBRARY_PATH:+:}$LIBRARY_PATH" +source $HOME/.guix-profile |