From 6b5912091cd366da21ceffd5ae1a10e259bb3624 Mon Sep 17 00:00:00 2001 From: Jakub Fojt Date: Fri, 6 Mar 2020 16:01:03 +0100 Subject: [PATCH] bashrc: Get rid of xhost thing --- .bashrc.kuba | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.bashrc.kuba b/.bashrc.kuba index 81308f0..f7339be 100755 --- a/.bashrc.kuba +++ b/.bashrc.kuba @@ -5,18 +5,19 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return +# Convenient helper function source_existing() { [ -f "$1" ] && source "$1" } -alias ls='ls --color=auto' export KRB5_CONFIG=".etcfiles/krb5.conf" export EDITOR="vim" -export CUPS_GSSSERVICENAME=HTTP alias dotfiles="/usr/bin/git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME" alias dvim="GIT_WORK_TREE='/home/kuba' GIT_DIR='/home/kuba/.dotfiles.git/' vim" +alias ls='ls --color=auto' + # Source git prompt source_existing ~/scripts/git-prompt.sh source_existing ~/.bash_prompt.kuba @@ -42,8 +43,3 @@ case $(hostname) in module load python-wrap/3 fi esac - -if xhost >& /dev/null ; then - # X is running - xhost +local:kuba > /dev/null -fi