Ajout : fonction pour initialiser DISPLAY dans un shell
This commit is contained in:
parent
1e3d8433bf
commit
5930748fe5
1 changed files with 5 additions and 0 deletions
|
@ -9,3 +9,8 @@ command_not_found_handler() {
|
||||||
return 127
|
return 127
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# sh
|
||||||
|
set-display() {
|
||||||
|
export DISPLAY=":${1:-1}"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue