nixos-config/home/shellcommon.nix
Sridhar Ratnakumar 93102a2ef7 Unused
2023-04-03 10:27:35 -04:00

19 lines
391 B
Nix

{ pkgs, ... }:
let
shellAliases = {
e = "nvim";
ee = "nvim \"$(fzf)\"";
g = "${pkgs.git}/bin/git";
lg = "lazygit";
ls = "${pkgs.exa}/bin/exa";
l = "ls";
ll = "ls -l";
lt = "ls --tree";
# Project tmux.
pux = "sh -c \"tmux -S $(pwd).tmux attach\"";
};
in
{
programs.bash = { inherit shellAliases; };
programs.zsh = { inherit shellAliases; };
}