bashrc: Get rid of xhost thing

This commit is contained in:
2020-03-06 16:01:03 +01:00
parent bd00a604bd
commit 6b5912091c

View File

@@ -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