dotfiles/modules/home/common/terminal/shell/aliases.nix
Christopher Mühl 53b8448159 Make common modules compatible for nix-darwin
TODO: Determine why nushell config is populated twice
2025-08-06 23:14:38 +02:00

15 lines
460 B
Nix

{lib, ...}: {
home.shellAliases = {
elements = "just -f ~/.dotfiles/Justfile -d ~/.dotfiles";
elem = "elements";
g = "git";
copy = lib.mkDefault "wl-copy";
inspect = "tmux -f ~/.tmux.inspect.conf new-session ssh inspect";
ansi = "sed -r \"s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g\"";
calc = "numbat --pretty-print never -e";
pcalc = "numbat --pretty-print always -e";
cat = "bat";
vim = "hx";
vi = "hx";
};
}