Skip to content
Snippets Groups Projects
Commit ee6f7d19 authored by Simon May's avatar Simon May
Browse files

Disable powerline because it gets stuck after disconnecting from SSH

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