From b874b04ce3b7eddb92c023b80b1dd37cb5228e83 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Wed, 29 Jun 2022 17:39:37 +0200 Subject: [PATCH] podman: Fix commands in fish --- programs/fish.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/programs/fish.nix b/programs/fish.nix index 95043d0..4341ad9 100644 --- a/programs/fish.nix +++ b/programs/fish.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, config, ... }: { programs.fish = { @@ -83,7 +83,6 @@ la = "exa --long --all --group --header --group-directories-first --sort=type --icons"; lg = "exa --long --all --group --header --git"; lt = "exa --long --all --group --header --tree --level "; - docker = "podman"; s = "kitty +kitten ssh"; ytdl = "ytdl_with_options"; ytdl_mp4 = "ytdl_with_options -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]'"; @@ -97,6 +96,10 @@ }; functions = { + podman = '' + fish -c "set -e SSH_AUTH_SOCK; ${config.home.profileDirectory}/bin/podman $argv" + ''; + upp = '' if not test -f ./.envrc; or rg --quiet '^use flake$' ./.envrc nix flake update ./ -v