From 8dbe89fd4ec053c31a4011bd56bd772a987d7364 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 20 Mar 2012 00:43:22 +0900 Subject: [PATCH] change way to run x --- bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 4975b13..a8fa6c0 100755 --- a/bashrc +++ b/bashrc @@ -108,6 +108,7 @@ alias p="$PAGER" alias c=cat alias pcalc="python -i -c 'from math import *' " alias py3=python3 +alias py2=python2 alias _reloadrc="test -f ~/.bashrc && source ~/.bashrc" alias sudo="sudo " # use aliases through sudo alias e3=e3em @@ -166,7 +167,7 @@ showinfo(){ x(){ if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then - exec nohup startx # >~/.backup/log/xorg.log 2>&1 & + nohup startx # >~/.backup/log/xorg.log 2>&1 & else echo "X cant be started! Maybe another X is already running!" 1>&2 fi