fixed autocompletion
This commit is contained in:
parent
a90490afa4
commit
5af47c4bed
2 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
|
4
.bashrc
4
.bashrc
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue