From 4efdda7087fa3ae4a32c2645f10dbd3e3111054e Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Tue, 11 Sep 2018 15:45:44 +0200 Subject: [PATCH] shell files updated --- shell/.zimrc | 31 ++++++++++++------------------- shell/.zshrc | 4 +--- shell/.zshrc_local_bioinfo4 | 26 ++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 22 deletions(-) create mode 100644 shell/.zshrc_local_bioinfo4 diff --git a/shell/.zimrc b/shell/.zimrc index c2fa423..19597e6 100644 --- a/shell/.zimrc +++ b/shell/.zimrc @@ -9,12 +9,13 @@ # # Select what modules you would like enabled. -# The second line of modules may depend on options set by modules in the first -# line. These dependencies are noted on the respective module's README.md. -zmodules=(directory environment git history input utility custom \ - syntax-highlighting history-substring-search prompt completion) +# The second line of modules may depend on options set by modules in the first line. +# These dependencies are noted on the respective module's README.md. +zmodules=(ssh directory environment git history input utility meta custom \ + syntax-highlighting history-substring-search prompt completion fasd) +zssh_ids=(id_ed25519) ################### # MODULE SETTINGS # ################### @@ -24,7 +25,11 @@ zmodules=(directory environment git history input utility custom \ # # Set your desired prompt here -zprompt_theme='eriner' +# +POWERLEVEL9K_PROMPT_ON_NEWLINE=true +zprompt_theme='powerlevel9k' +#zprompt_theme='eriner' +#zprompt_theme='clint' # # Completion @@ -42,24 +47,13 @@ zprompt_theme='eriner' # See: http://zsh.sourceforge.net/Doc/Release/Options.html#Input_002fOutput #setopt CORRECT -# -# Environment -# - -# Set the string below to the desired terminal title format string. -# The terminal title is redrawn upon directory change, however, variables like -# ${PWD} are only evaluated once. Use prompt expansion strings for dynamic data: -# http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Simple-Prompt-Escapes -# The example below uses the following format: 'username@host:/current/directory' -ztermtitle='%n@%m:%~' - # # Input # # Uncomment to enable double-dot expansion. # This appends '../' to your input for each '.' you type after an initial '..' -#zdouble_dot_expand='true' +zdouble_dot_expand='true' # # Syntax-Highlighting @@ -76,9 +70,9 @@ zhighlighters=(main brackets) # # SSH # +zssh_ids=(id_rsa) # Load these ssh identities with the ssh module -#zssh_ids=(id_rsa) # @@ -90,4 +84,3 @@ zhighlighters=(main brackets) # Load any helper scripts as defined here #zpacman_helper=(aur) - diff --git a/shell/.zshrc b/shell/.zshrc index 7a31719..fd37587 100644 --- a/shell/.zshrc +++ b/shell/.zshrc @@ -15,6 +15,7 @@ export EDITOR='vim' export SSH_KEY_PATH="~/.ssh/rsa_id" export TERMINAL="terminator" export BROWSER="firefox" +export PAGER='most' source ~/.zshrc_functions source ~/.zshrc_local @@ -29,6 +30,3 @@ eval "$(fasd --init auto)" # marker [[ -s "$HOME/.local/share/marker/marker.sh" ]] && source "$HOME/.local/share/marker/marker.sh" - -# the fuck? -eval $(thefuck --alias) diff --git a/shell/.zshrc_local_bioinfo4 b/shell/.zshrc_local_bioinfo4 new file mode 100644 index 0000000..f6df954 --- /dev/null +++ b/shell/.zshrc_local_bioinfo4 @@ -0,0 +1,26 @@ +# gromacs +if [ -z "$GMXRC" ]; then + GMXRC="/opt/gromacs-2018/bin/GMXRC" +fi +source $GMXRC + +export CUDA_HOME=/opt/cuda + +# wham +export PATH="/opt/wham/wham:/opt/wham/wham-2d:${PATH}" # binaries + +# pymol2 +export PATH="/opt/pymol2:$PATH" + +# python +PYTHONPATH="$PYTHONPATH:/opt/modeller/modlib:/opt/modeller/lib/x86_64-intel8/python3.3" +export PYTHONPATH +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/modeller/lib/x86_64-intel8" + + +#backup +#if [[ ! -e /tmp/$(date +%u).sem ]] +#then +# touch /tmp/$(date +%u).sem +# bash ~/.sync_home/sync.sh +#fi