Android : Add yazi and chafa.

This commit is contained in:
Dmitry Voronin 2024-06-23 23:25:19 +03:00
parent a8194a669d
commit ddb63b2285
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 9 additions and 2 deletions

View file

@ -27,6 +27,7 @@
tree
wget
yt-dlp
yazi chafa
zip unzip
];
}

View file

@ -14,6 +14,7 @@
nvim = import ../common/nvim args;
ssh = import ../common/ssh args;
tmux = import ../common/tmux args;
yazi = import ../../user/common/yazi args;
in {
time.timeZone = const.timeZone;
nix.extraOptions = nix.extraOptions;
@ -29,6 +30,10 @@ in {
".ssh/config".text = ssh.config;
".termux/_font.ttf".source = termux.font;
".termux/_colors.properties".text = termux.colors;
".config/yazi/init.lua".source = yazi.init;
".config/yazi/keymap.toml".source = yazi.keymap;
".config/yazi/theme.toml".source = yazi.theme;
".config/yazi/yazi.toml".source = yazi.yazi;
};
};

View file

@ -9,14 +9,15 @@
# Usage: l [DIRS]
function l() {
# ls -lhv --si --group-directories-first --color=auto -- "$@"
ccd
ccd "$@"
}
# List last modified files first.
# Current dir by default.
# Usage: ll [DIRS]
function ll() {
ls -lhvtr --si --color=auto -- "$@"
ls -lhv --si --group-directories-first --color=auto -- "$@"
# ls -lhvtr --si --color=auto -- "$@"
}
# List files in tree structure.