improove
This commit is contained in:
parent
b06e536462
commit
3ab30c0ccc
1 changed files with 17 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
lsd
|
||||||
|
bat
|
||||||
|
autojump
|
||||||
|
];
|
||||||
|
|
||||||
home.file.".zshenv".enable = false;
|
home.file.".zshenv".enable = false;
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -15,6 +21,17 @@
|
||||||
/* Not persisted on purpose */
|
/* Not persisted on purpose */
|
||||||
history.path = "${config.xdg.cacheHome}/zsh_history";
|
history.path = "${config.xdg.cacheHome}/zsh_history";
|
||||||
|
|
||||||
|
shellAliases = {
|
||||||
|
cat = "bat --paging=never";
|
||||||
|
ls = "lsd";
|
||||||
|
ll = "lsd -lah";
|
||||||
|
};
|
||||||
|
|
||||||
|
initExtra = ''
|
||||||
|
alias -g -- -h='-h 2>&1 | bat --language=help --style=plain'
|
||||||
|
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
|
||||||
|
'';
|
||||||
|
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
name = "zsh-nix-shell";
|
name = "zsh-nix-shell";
|
||||||
|
|
Loading…
Add table
Reference in a new issue