podman: Fix commands in fish
This commit is contained in:
parent
98e3bb1e23
commit
b874b04ce3
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
|
@ -83,7 +83,6 @@
|
||||||
la = "exa --long --all --group --header --group-directories-first --sort=type --icons";
|
la = "exa --long --all --group --header --group-directories-first --sort=type --icons";
|
||||||
lg = "exa --long --all --group --header --git";
|
lg = "exa --long --all --group --header --git";
|
||||||
lt = "exa --long --all --group --header --tree --level ";
|
lt = "exa --long --all --group --header --tree --level ";
|
||||||
docker = "podman";
|
|
||||||
s = "kitty +kitten ssh";
|
s = "kitty +kitten ssh";
|
||||||
ytdl = "ytdl_with_options";
|
ytdl = "ytdl_with_options";
|
||||||
ytdl_mp4 = "ytdl_with_options -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]'";
|
ytdl_mp4 = "ytdl_with_options -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]'";
|
||||||
|
@ -97,6 +96,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
functions = {
|
functions = {
|
||||||
|
podman = ''
|
||||||
|
fish -c "set -e SSH_AUTH_SOCK; ${config.home.profileDirectory}/bin/podman $argv"
|
||||||
|
'';
|
||||||
|
|
||||||
upp = ''
|
upp = ''
|
||||||
if not test -f ./.envrc; or rg --quiet '^use flake$' ./.envrc
|
if not test -f ./.envrc; or rg --quiet '^use flake$' ./.envrc
|
||||||
nix flake update ./ -v
|
nix flake update ./ -v
|
||||||
|
|
Loading…
Reference in a new issue