aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
blob: 159897bd950bed4dcbc191c0e0d0aca2370936b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc

#!/bin/bash
if test -z "${XDG_RUNTIME_DIR}"; then
    export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
    if ! test -d "${XDG_RUNTIME_DIR}"; then
        mkdir "${XDG_RUNTIME_DIR}"
        chmod 0700 "${XDG_RUNTIME_DIR}"
    fi
fi


#export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0