diff --git a/home/cli.nix b/home/cli.nix index 60dad03..0b74e4c 100644 --- a/home/cli.nix +++ b/home/cli.nix @@ -50,6 +50,7 @@ in { dua # ncdu but better bat # better cat exa # better ls + fzf gcc cmake @@ -57,23 +58,16 @@ in { plantuml gnuplot - # pass pandoc hledger hledger-web - #hledger-iadd hledger-ui - #smos - #haskellPackages.patat # terminal based presentations using pandoc nix-prefetch-git ]; home.extraOutputsToInstall = [ "doc" "info" "devdoc" ]; xdg.enable = true; - # xdg.configFile = { - # "emacs".source = ./emacs.d; - # }; xdg.configFile.tmux = { target = "tmux/tmux.conf"; @@ -97,21 +91,29 @@ in { ''; }; + environment.shellAliases = { + e = "emacsclient -c $@"; + ls = "exa $@"; + t = "exa -T $@"; + }; + programs = { bash = { enable = true; }; zsh = { enable = true; enableAutosuggestions = true; - # enableSyntaxHighlighting = true; - shellAliases = { e = "emacsclient -c $@"; }; oh-my-zsh = { enable = true; - plugins = [ "git" ]; + plugins = [ "git" "fzf" "fd" "z" ]; theme = "simple"; }; }; + starship = { + enable = true; + }; + # better cat bat.enable = true; @@ -154,7 +156,6 @@ in { password-store = { enable = true; - # package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]); package = pkgs.gopass; settings = { PASSWORD_STORE_DIR = "$HOME/.local/share/password-store"; }; };