sec1: only use setxkbmap if DISPLAY is set
This commit is contained in:
@@ -3,11 +3,13 @@ if [ -x /usr/bin/dircolors ]; then
|
|||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# For some reason there are occasional problems, where quote marks (")
|
if [ -n "$DISPLAY" ] ; then
|
||||||
# don't type properly. Setting this fixes it. (This time around.)
|
# For some reason there are occasional problems, where quote marks (")
|
||||||
# Idea taken from
|
# don't type properly. Setting this fixes it. (This time around.)
|
||||||
# http://www.straightrunning.com/XmingNotes/trouble.php#sect-15
|
# Idea taken from
|
||||||
setxkbmap gb -variant extd
|
# http://www.straightrunning.com/XmingNotes/trouble.php#sect-15
|
||||||
|
setxkbmap gb -variant extd
|
||||||
|
fi
|
||||||
|
|
||||||
addpath $HOME/.local/bin
|
addpath $HOME/.local/bin
|
||||||
|
|
||||||
@@ -57,11 +59,13 @@ alias cleanursr='if [ "$NEXUS_TOP" == "" ] ; then echo NEXUS_TOP not set ; else
|
|||||||
|
|
||||||
alias r="ranger"
|
alias r="ranger"
|
||||||
|
|
||||||
PATH="$HOME/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
if [ -d "$HOME/perl5" ] ; then
|
||||||
PERL5LIB="$HOME/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
PATH="$HOME/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
||||||
PERL_LOCAL_LIB_ROOT="$HOME/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
PERL5LIB="$HOME/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
||||||
PERL_MB_OPT="--install_base \"$HOME/perl5\""; export PERL_MB_OPT;
|
PERL_LOCAL_LIB_ROOT="$HOME/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
||||||
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT;
|
PERL_MB_OPT="--install_base \"$HOME/perl5\""; export PERL_MB_OPT;
|
||||||
|
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT;
|
||||||
|
fi
|
||||||
|
|
||||||
GPG_TTY=$(tty)
|
GPG_TTY=$(tty)
|
||||||
export GPG_TTY
|
export GPG_TTY
|
||||||
|
|||||||
Reference in New Issue
Block a user