refactor: split shellAlias

This commit is contained in:
Sridhar Ratnakumar 2023-04-03 10:31:19 -04:00
parent 93102a2ef7
commit 6f4633f1a1

View file

@ -1,10 +1,14 @@
{ pkgs, ... }:
let
shellAliases = {
# These aliases should work on all shells.
shellAliasesSimple = {
e = "nvim";
ee = "nvim \"$(fzf)\"";
g = "${pkgs.git}/bin/git";
lg = "lazygit";
};
# These aliases should work on bash/zsh.
shellAliases = shellAliasesSimple // {
ee = "nvim \"$(fzf)\"";
ls = "${pkgs.exa}/bin/exa";
l = "ls";
ll = "ls -l";