adds aliases and functions
This commit is contained in:
parent
9dde3e8806
commit
7498454bbd
2 changed files with 9 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
home-manager.users.moritz = {
|
||||
shell = pkgs.zsh;
|
||||
home.packages = with pkgs; [ du-dust ];
|
||||
programs = {
|
||||
zsh = {
|
||||
|
@ -14,11 +15,18 @@
|
|||
ls = "exa -lh";
|
||||
cat = "bat";
|
||||
feh = "feh --auto-zoom --scale-down";
|
||||
|
||||
us = "systemctl --user";
|
||||
rs = "sudo systemctl";
|
||||
};
|
||||
enableSyntaxHighlighting = true;
|
||||
enableAutosuggestions = true;
|
||||
enableCompletion = true;
|
||||
# initExtra = ''export DIRENV_LOG_FORMAT=""'';
|
||||
initExtra = ''
|
||||
function nix-which() {
|
||||
readlink -f $(which $1)
|
||||
}
|
||||
'';
|
||||
plugins = [{
|
||||
name = "forgit";
|
||||
src = inputs.forgit-git;
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
# USERS
|
||||
users.users.moritz = {
|
||||
shell = pkgs.zsh;
|
||||
isNormalUser = true;
|
||||
home = "/home/moritz";
|
||||
extraGroups =
|
||||
|
|
Loading…
Reference in a new issue