home/shell: add a few more aliases
This commit is contained in:
parent
11119d0a79
commit
ca3ecd39ee
@ -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 --"
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user