More cleaning. exa instead of lsd. etc

master
Dustin Swan 4 years ago
parent 936f70bbd7
commit 9cd6920c03

@ -14,11 +14,7 @@ in
MANPAGER = "sh -c 'col -bx | bat -l man -p'"; MANPAGER = "sh -c 'col -bx | bat -l man -p'";
PATH = "$PATH:${builtins.getEnv "HOME"}/.emacs.d/bin:${builtins.getEnv "HOME"}/.radicle/bin:${builtins.getEnv "HOME"}/.cargo/bin"; PATH = "$PATH:${builtins.getEnv "HOME"}/.emacs.d/bin:${builtins.getEnv "HOME"}/.radicle/bin:${builtins.getEnv "HOME"}/.cargo/bin";
P4USER = "dswan"; EXA_ICON_SPACING = 2;
P4PORT = "humu.iocom.com:1666";
P4CONFIG = "p4.cfg";
P4EDITOR = "vim";
P4IGNORE = ".ignore";
}; };
programs.home-manager.enable = true; programs.home-manager.enable = true;
@ -54,7 +50,7 @@ in
''; '';
}; };
programs.lsd = { programs.exa = {
enable = true; enable = true;
enableAliases = true; enableAliases = true;
}; };
@ -64,22 +60,16 @@ in
enableAutosuggestions = true; enableAutosuggestions = true;
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ "git" ]; plugins = [ "git" "httpie" "aws" "emacs" "fd" "fzf" "mosh" "npm" "ripgrep" "rsync" "sudo" "yarn" ];
}; };
shellAliases = { shellAliases = {
l = "exa -lah --icons --git";
n = "nnn"; n = "nnn";
t = "tmux attach -d";
er = "rm -rf logs; unzip -o"; er = "rm -rf logs; unzip -o";
srsync = "rsync --rsync-path='sudo rsync'"; srsync = "rsync --rsync-path='sudo rsync'";
tree = "lsd --tree";
}; };
}; };
# programs.dircolors = {
# enable = true;
# enableZshIntegration = true;
# };
programs.direnv = { programs.direnv = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
@ -133,8 +123,7 @@ in
# signByDefault = true; # signByDefault = true;
key = "AD11750151C10881970BD943AB49BD6B2B3A6377"; key = "AD11750151C10881970BD943AB49BD6B2B3A6377";
}; };
aliases = { aliases = { # https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git
# https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/git/git.plugin.zsh
lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit"; lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit";
}; };
}; };
@ -238,13 +227,13 @@ in
keys = ["id_rsa" "2B3A6377"]; keys = ["id_rsa" "2B3A6377"];
}; };
# programs.newsboat = { programs.newsboat = {
# enable = true; enable = true;
# extraConfig = '' extraConfig = ''
# urls-source "ttrss" urls-source "ttrss"
# ttrss-url "https://tt-rss.dustinswan.com/" ttrss-url "https://tt-rss.dustinswan.com/"
# ttrss-login "dustinswan" ttrss-login "dustinswan"
# ttrss-passwordeval "gpg -dq ~/.dustinswan@tt-rss.dustinswan.com.gpg" ttrss-passwordeval "gpg -dq ~/.dustinswan@tt-rss.dustinswan.com.gpg"
# ''; '';
# }; };
} }

Loading…
Cancel
Save