* Set the checkwinsize option in interactive shells. Otherwise
bash may miss resize events (I guess SIGWINCH is only sent to the foreground process). svn path=/nixos/trunk/; revision=25815
This commit is contained in:
parent
28e4ac1af2
commit
7104acfa8b
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@ if [ -n "$NOSYSBASHRC" ]; then
|
|||
return
|
||||
fi
|
||||
|
||||
# In interactive shells, check the window size after every command.
|
||||
if [ -n "$PS1" ]; then
|
||||
shopt -s checkwinsize
|
||||
fi
|
||||
|
||||
# Initialise a bunch of environment variables.
|
||||
export LD_LIBRARY_PATH=/var/run/opengl-driver/lib:/var/run/opengl-driver-32/lib # !!! only set if needed
|
||||
export MODULE_DIR=@modulesTree@/lib/modules
|
||||
|
|
Loading…
Reference in a new issue