mirror of
https://github.com/89luca89/distrobox.git
synced 2025-02-25 18:55:25 -06:00
export: add default path for exported bins
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
# DISTROBOX_HOST_HOME
|
||||
|
||||
# Defaults
|
||||
dest_path=""
|
||||
dest_path="${HOME}/.local/bin"
|
||||
export_action=""
|
||||
exported_app=""
|
||||
exported_app_label=""
|
||||
@@ -37,10 +37,10 @@ extra_flags=""
|
||||
# DBX_HOST_HOME is set in case container is created
|
||||
# with custom --home directory
|
||||
host_home="${DISTROBOX_HOST_HOME:-"${HOME}"}"
|
||||
start_shell=""
|
||||
is_login=0
|
||||
is_sudo=0
|
||||
rootful=""
|
||||
start_shell=""
|
||||
verbose=0
|
||||
version="1.4.2.1"
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ automatically be launched from the container it is exported from.
|
||||
Defaults to (on \$container_name)
|
||||
--export-path/-ep: path where to export the binary
|
||||
--extra-flags/-ef: extra flags to add to the command
|
||||
--login/-l run the exported item in a login shell
|
||||
--login/-l run the exported item in a login shell
|
||||
--sudo/-S: specify if the exported item should be run as sudo
|
||||
--help/-h: show this message
|
||||
--verbose/-v: show more verbosity
|
||||
@@ -37,7 +37,7 @@ Using `distrobox-export` from **inside** the container will let you use them fro
|
||||
# EXAMPLES
|
||||
|
||||
distrobox-export --app mpv [--extra-flags "flags"] [--delete] [--sudo]
|
||||
distrobox-export --bin /path/to/bin --export-path ~/.local/bin [--extra-flags "flags"] [--delete] [--sudo]
|
||||
distrobox-export --bin /path/to/bin [--export-path ~/.local/bin] [--extra-flags "flags"] [--delete] [--sudo]
|
||||
|
||||
**App export example**
|
||||
|
||||
@@ -59,7 +59,6 @@ your `env` or project.
|
||||
|
||||
The exported binaries will be exported in the "--export-path" of choice as a wrapper
|
||||
script that acts naturally both on the host and in the container.
|
||||
Note that "--export-path" is NOT OPTIONAL, you have to explicitly set it.
|
||||
|
||||
**Additional flags**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user