fixed autocompletion

This commit is contained in:
Steffen Vogel 2014-06-25 22:08:16 +02:00
parent a90490afa4
commit 5af47c4bed
2 changed files with 4 additions and 6 deletions

View file

@ -1,14 +1,14 @@
# if running bash
if [ -n "$BASH_VERSION" ] && [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
source "$HOME/.bashrc"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
if [ -d "$HOME/bin" ]; then
PATH="$HOME/bin:$PATH"
fi
# start gui
if [ -z $DISPLAY ]; then
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq "1" ]; then
exec startx
fi

View file

@ -1,6 +1,3 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# also gets invoced for login shells by ~/.profile
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
@ -42,3 +39,4 @@ fi
if [ -f ~/.bash_aliases ]; then source ~/.bash_aliases; fi
if [ -f ~/.bash_env ]; then source ~/.bash_env; fi
if [ -f ~/.bash_prompt ]; then source ~/.bash_prompt; fi
if [ -f /etc/bash_completion ]; then source /etc/bash_completion; fi