dotfiles/homes/x86_64-linux/christopher@cobalt/global/terminal/shell/aliases.nix
Christopher Mühl 786af32daf
Publish my config
This is the result of ~100 commits to my NixOS config. Since I haven't
always used `agenix-rekey`, this is another initial commit so that none
of the secrets in my git history are leaked
2025-07-30 23:36:39 +02:00

15 lines
485 B
Nix

{lib, ...}: {
home.shellAliases = {
elements = "just -f ~/.dotfiles/Justfile -d ~/.dotfiles";
elem = "elements";
g = "git";
copy = lib.mkDefault "xclip -sel clip";
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\"";
ssh = "TERM=xterm-color ssh";
calc = "numbat --pretty-print never -e";
pcalc = "numbat --pretty-print always -e";
vim = "hx";
vi = "hx";
};
}