diff --git a/install.sh b/install.sh index 64b4041..cd2cbc3 100755 --- a/install.sh +++ b/install.sh @@ -43,6 +43,22 @@ if [ ! -d "$HOME/.marker" ]; then $HOME/.marker/install.py fi +# fasd +if [ ! -d "$HOME/bin" ]; then + mkdir -p $HOME/bin +fi +if [ ! -f "$HOME/bin/fasd" ]; then + echo "Installing fasd" + wget https://raw.githubusercontent.com/clvv/fasd/master/fasd + mv fasd $HOME/bin/fasd + chmod +x $HOME/bin/fasd +fi + +# vundle +if [ ! -d "$HOME/.vim/bundle" ]; then + git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim +fi + # linking dotfiles $HOME/.dotfiles/dotfiles.sh link base diff --git a/profiles/base/.antigenrc b/profiles/base/.antigenrc new file mode 100644 index 0000000..18e7b36 --- /dev/null +++ b/profiles/base/.antigenrc @@ -0,0 +1,27 @@ +antigen use oh-my-zsh --debug + +# bundles +antigen bundle git +antigen bundle zsh-users/zsh-completions +antigen bundle pip +antigen bundle zsh-users/zsh-syntax-highlighting +antigen bundle zsh-users/zsh-history-substring-search + +antigen bundle command-not-found + +# theme +export TERM="xterm-256color" +DEFAULT_USER=bauer +POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh context dir vcs anaconda) +POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(background_jobs status time) + +# Anaconda +POWERLEVEL9K_ANACONDA_RIGHT_DELIMITER='>' +POWERLEVEL9K_ANACONDA_LEFT_DELIMITER='<' +POWERLEVEL9K_ANACONDA_BACKGROUND='24' +POWERLEVEL9K_ANACONDA_FOREGROUND='111' + +POWERLEVEL9K_PROMPT_ON_NEWLINE=true +antigen theme bhilburn/powerlevel9k powerlevel9k + +antigen apply diff --git a/profiles/base/.zshrc b/profiles/base/.zshrc index 9e50cae..6527884 100644 --- a/profiles/base/.zshrc +++ b/profiles/base/.zshrc @@ -1,30 +1,21 @@ -if [ -f `which powerline-daemon` ]; then - powerline-daemon -q - POWERLINE_BASH_CONTINUATION=1 - POWERLINE_BASH_SELECT=1 - . /usr/local/lib/python2.7/dist-packages/powerline/bindings/zsh/powerline.zsh -fi - -# Change default zim location export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim - -# Start zim [[ -s ${ZIM_HOME}/init.zsh ]] && source ${ZIM_HOME}/init.zsh +if [ -z "$GMXRC" ]; then + GMXRC="/opt/gromacs-2018/bin/GMXRC.bash" +fi +source $GMXRC + +# source $HOME/bin/antigen.zsh +# antigen init $HOME/.antigenrc + # source other dotfiles source $HOME/.environment if [ -f "$HOME/.environment.local" ]; then source $HOME/.environment.local fi - source $HOME/.aliases source $HOME/.functions - -if [ -z "$GMXRC" ]; then - GMXRC="/opt/gromacs-2018/bin/GMXRC" -fi -source $GMXRC - # config specific to this machine if [ -f $HOME/.zshrc_local ]; then source $HOME/.zshrc_local diff --git a/profiles/pymol/.pymolrc b/profiles/pymol/.pymolrc index f575b2e..f555d39 100644 --- a/profiles/pymol/.pymolrc +++ b/profiles/pymol/.pymolrc @@ -1,5 +1,5 @@ # general environment -bg_color black +bg_color white #space cmyk set fetch_path, /tmp log_open /tmp/pymol_log.pml