aboutsummaryrefslogtreecommitdiff
path: root/com.fishshell.fish/com.fishshell.fish.yml
diff options
context:
space:
mode:
authoraxtlos <axtlos@tar.black>2022-07-01 13:43:58 +0200
committeraxtlos <axtlos@tar.black>2022-07-01 13:43:58 +0200
commit6daf7e23da3bdcd387153f0545643e9ac4a96850 (patch)
treea303e969f8780b4ef9f6452cf9ca73c7355270c1 /com.fishshell.fish/com.fishshell.fish.yml
parenta7c8d9fe3b8d02ff080b57950b78527b8066d268 (diff)
downloadflatpaks-6daf7e23da3bdcd387153f0545643e9ac4a96850.tar.gz
flatpaks-6daf7e23da3bdcd387153f0545643e9ac4a96850.tar.bz2
add command_not_found function to execute commands on host
Diffstat (limited to '')
-rw-r--r--com.fishshell.fish/com.fishshell.fish.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/com.fishshell.fish/com.fishshell.fish.yml b/com.fishshell.fish/com.fishshell.fish.yml
index 9c09253..71148c4 100644
--- a/com.fishshell.fish/com.fishshell.fish.yml
+++ b/com.fishshell.fish/com.fishshell.fish.yml
@@ -8,6 +8,8 @@ finish-args:
- --filesystem=host:rw
- --socket=session-bus
- --share=network
+ - --persist=~/.config/fish
+ - --env=__fish_sysconf_dir=/app/etc/fish
modules:
- name: fish
@@ -16,8 +18,12 @@ modules:
- type: archive
url: https://github.com/fish-shell/fish-shell/releases/download/3.5.0/fish-3.5.0.tar.xz
sha256: 291e4ec7c6c3fea54dc1aed057ce3d42b356fa6f70865627b2c7dfcecaefd210
+ - type: file
+ path: ./fish_command_not_found.fish
build-commands:
- mkdir build
- cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/app
- cd build && make
- cd build && make install
+ - mkdir -p /app/etc/fish/conf.d
+ - install -Dm755 fish_command_not_found.fish /app/etc/fish/conf.d/fish_command_not_found.fish