diff options
author | ZachIR <zachir@librem.one> | 2025-02-28 11:45:41 -0600 |
---|---|---|
committer | ZachIR <zachir@librem.one> | 2025-02-28 11:45:41 -0600 |
commit | 4497758fec80cbd1c05d51786240753d7e3886af (patch) | |
tree | 328e82f033d25b5aac8d4ea997d62d3f6c2fda0e /sh/profile | |
parent | e05dd3a4344499e005f0d115f30be52e25d376c0 (diff) | |
parent | b49362306bebbcd77517940203e981d263b31d0e (diff) |
Merge branch 'master' into car
Diffstat (limited to 'sh/profile')
-rw-r--r-- | sh/profile | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -63,7 +63,7 @@ export GDK_SCALE=1 export GDK_DPI_SCALE=1 # Theming -export QT_QPA_PLATFORMTHEME=qt5ct +export QT_QPA_PLATFORMTHEME=qt6ct # Fix wayland stuff export MOZ_ENABLE_WAYLAND=1 @@ -130,3 +130,17 @@ addtopath "/var/lib/flatpak/exports/bin" unset -f addtopath unset USERPATH unset PATHS + +command_not_found_handle() { +# don't run if not in a container + if [ ! -e /run/.containerenv ] && [ ! -e /.dockerenv ]; then + exit 127 + fi + + distrobox-host-exec "${@}" +} +if [ -n "${ZSH_VERSION-}" ]; then + command_not_found_handler() { + command_not_found_handle "$@" + } +fi |