Add Flatpak extensions to $PATH
This commit is contained in:
parent
81cfd6476b
commit
d4f5804928
1 changed files with 10 additions and 0 deletions
|
@ -155,6 +155,16 @@ do
|
|||
_acp_add_path "$dir"
|
||||
done
|
||||
|
||||
# Flatpak extensions are named `org.freedesktop.Sdk.Extension.NAME` and get
|
||||
# installed to `/usr/lib/sdk/NAME/bin`.
|
||||
for ext in golang \
|
||||
rust-stable \
|
||||
rust-nightly \
|
||||
texlive
|
||||
do
|
||||
_acp_add_path "/usr/lib/sdk/$ext/bin"
|
||||
done
|
||||
|
||||
# Other exports.
|
||||
export PS1="${PS1:-\$ }" # Fallback prompt.
|
||||
export HISTFILE=""
|
||||
|
|
Loading…
Reference in a new issue