Commit ee6f7d19 authored by Simon May's avatar Simon May
Browse files

Disable powerline because it gets stuck after disconnecting from SSH

parent 67fd8d80
......@@ -20,8 +20,8 @@ if [ -f ~/.alias ]; then
. ~/.alias
fi
# powerline (prompt)
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. .local/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
## powerline (prompt)
#powerline-daemon -q
#POWERLINE_BASH_CONTINUATION=1
#POWERLINE_BASH_SELECT=1
#. .local/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
......@@ -4,13 +4,15 @@ umask 077
# set PATH
# remove .
PATH="$(echo "$PATH" | sed -E 's/:\.(:|$)/\1/')"
# add ~.local/bin
# add ~/.local/bin
PATH="$PATH:$HOME/.local/bin"
# includes user’s private bin if it exists
if [ -d "$HOME/bin" ]; then
PATH="$PATH:$HOME/bin"
fi
echo $PATH > ~/bla.txt
# set default locale
. "$HOME/.locale"
......@@ -21,15 +23,17 @@ LESS="$LESS -i -M -R -x4"
export LESS
# set EDITOR
export EDITOR=nano
EDITOR=nano
export EDITOR
# use less instead of more for man
export PAGER=less
PAGER=less
export PAGER
# setup modules
module load anaconda2
module load anaconda3
module load mathematica
# installed libraries (at least FFTW) are compiled with OpenMPI
# installed libraries (at least FFTW) are compiled with Open MPI
module load openmpi
# if running bash
......
ControlMaster auto
ControlPath ~/.ssh/control:%h:%p:%r
ControlPath /scratch/smay/.ssh/control:%h:%p:%r
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment