pip update-all

Problem to solve Update all packages which are managed by pip. Fix pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U Alternatively pip freeze|grep '=='|awk -F= '{print $1}' | xargs pip install -U

March 15, 2019 · 1 min · Tamás Gál

st terminal support in tmux

Symptoms You try to attach to or create a new tmux session and you get the following error message: open terminal failed: missing or unsuitable terminal: st-256color Fix Copy over your terminfo definition with this one-liner: infocmp st-256color|ssh USER@TARGETHOST "mkdir -p .terminfo && cat >/tmp/ti && tic /tmp/ti" That’s it…

March 6, 2019 · 1 min · Tamás Gál