* 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
@ -2,6 +2,11 @@ if [ -n "$NOSYSBASHRC" ]; then
|
|||||||
return
|
return
|
||||||
fi
|
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.
|
# 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 LD_LIBRARY_PATH=/var/run/opengl-driver/lib:/var/run/opengl-driver-32/lib # !!! only set if needed
|
||||||
export MODULE_DIR=@modulesTree@/lib/modules
|
export MODULE_DIR=@modulesTree@/lib/modules
|
||||||
|
Loading…
x
Reference in New Issue
Block a user