]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blame - roles/tools/files/ssh/rc
Psql configuration to show nice lines
[perso/Immae/Config/Ansible.git] / roles / tools / files / ssh / rc
CommitLineData
b4693a8e
IB
1#!/bin/bash
2
3if [ -n "$DISPLAY" ]; then
4 export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
5 read protocol cookie
6 xauth remove $DISPLAY
7 xauth add $DISPLAY "$protocol" "$cookie"
8fi