mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Merge branch 'orbital-envivars' into 'master'
Draft: Small changes to ion and bash config See merge request redox-os/redox!2203
This commit is contained in:
commit
3c0a0be993
6
recipes/core/ion/config/initrc
Normal file
6
recipes/core/ion/config/initrc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# set orbital screen resolution to avoid x11 or wayland fallback for applications in a orbital session and workaround shell quirks
|
||||||
|
export DISPLAY=/scheme/orbital/99.0
|
||||||
|
export DISPLAY=$or($DISPLAY "/scheme/orbital/99.0")
|
||||||
|
export ORBITAL_DISPLAY=$or($ORBITAL_DISPLAY "/scheme/orbital")
|
||||||
|
# optional alias for the "clear" command
|
||||||
|
#alias cl = "clear"
|
||||||
@ -5,4 +5,10 @@ description = "Official shell of the Redox project"
|
|||||||
git = "https://gitlab.redox-os.org/redox-os/ion.git"
|
git = "https://gitlab.redox-os.org/redox-os/ion.git"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
template = "cargo"
|
template = "custom"
|
||||||
|
script = """
|
||||||
|
DYNAMIC_INIT
|
||||||
|
cookbook_cargo
|
||||||
|
mkdir -pv "${COOKBOOK_STAGE}/etc/skel/.config/ion"
|
||||||
|
cp -rv "${COOKBOOK_RECIPE}"/config "${COOKBOOK_STAGE}/etc/skel/.config/ion"
|
||||||
|
"""
|
||||||
|
|||||||
@ -75,6 +75,7 @@ fi
|
|||||||
alias ll='ls -alF'
|
alias ll='ls -alF'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
alias l='ls -CF'
|
alias l='ls -CF'
|
||||||
|
#alias cl='clear' # optional alias for the "clear" command
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
# Add an "alert" alias for long running commands. Use like so:
|
# Add an "alert" alias for long running commands. Use like so:
|
||||||
@ -97,3 +98,7 @@ if ! shopt -oq posix; then
|
|||||||
. /etc/bash_completion
|
. /etc/bash_completion
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# set orbital screen resolution to workaround shell quirks and avoid x11 or wayland fallback for applications in a orbital session
|
||||||
|
export DISPLAY=/scheme/orbital/99.0
|
||||||
|
export ORBITAL_DISPLAY=/scheme/orbital
|
||||||
Loading…
Reference in New Issue
Block a user