Add ftp client alias
This commit is contained in:
parent
4e921bfee2
commit
1a16816996
2 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,7 @@
|
|||
ranger # TUI file manager
|
||||
trickle # cli network limiter
|
||||
du-dust # disk usage visualizer
|
||||
lftp # FTP client
|
||||
|
||||
nvd # Differ
|
||||
nix-output-monitor
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
inherit (lib) mkIf;
|
||||
hasPackage = pname: lib.any (p: p ? pname && p.pname == pname) config.home.packages;
|
||||
hasRipgrep = hasPackage "ripgrep";
|
||||
hasLftp = hasPackage "lftp";
|
||||
hasExa = hasPackage "eza";
|
||||
hasLazygit = config.programs.lazygit.enable;
|
||||
hasLazydocker = hasPackage "lazydocker";
|
||||
|
@ -87,6 +88,8 @@ in {
|
|||
|
||||
udmount = "udisksctl mount -b";
|
||||
udumount = "udisksctl unmount -b";
|
||||
|
||||
fftp = mkIf hasLftp "lftp -u ghoscht, sftp://192.168.178.48";
|
||||
};
|
||||
functions = {
|
||||
# Disable greeting
|
||||
|
|
Loading…
Reference in a new issue