home/shell: add a few more aliases

This commit is contained in:
Oystein Kristoffer Tveit 2025-03-24 11:13:25 +01:00
parent 11119d0a79
commit ca3ecd39ee
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

@ -291,6 +291,10 @@ in {
];
};
cdtmp = "cd \"$(mktemp -d)\"";
open = "${pkgs.xdg-utils}/bin/xdg-open";
e = "$EDITOR";
m = p "ncmpcpp";
g = "${pkgs.gitoxide}/bin/gix";
@ -328,6 +332,17 @@ in {
];
};
list-applications = {
type = ";";
alias = map (x: "${p "eza"} -lah ${x}") [
"/run/current-system/sw/share/applications"
"~/.local/share/applications"
"~/.local/state/nix/profiles/home-manager/home-path/share/applications"
];
};
cdr = "$(git rev-parse --show-toplevel)";
view-latex = "${pkgs.texlive.combined.scheme-full}/bin/latexmk -pdf -pvc main.tex";
reload-tmux = "${p "tmux"} source $HOME/.config/tmux/tmux.conf";
@ -381,6 +396,11 @@ in {
# "--pdf-engine=xelatex"
# "-o \"$2\""
# ];
# rwhich = functors.shellJoin.wrap [
# "which \"$@\""
# "xargs realpath --"
# ];
# };
# };