Browse Source

zsh alias syntax fix

dev_01_initial
Heiko Blobner 3 years ago
parent
commit
562da7e184
  1. 27
      home-manager/hblobner_at_devvie.nix

27
home-manager/hblobner_at_devvie.nix

@ -7,9 +7,15 @@
home.homeDirectory = "/home/hblobner"; home.homeDirectory = "/home/hblobner";
# Packages that should be installed to the user profile. # Packages that should be installed to the user profile.
home.packages = [ home.packages = with pkgs; [
pkgs.htop alacritty
pkgs.fortune fasd
fd
htop
fortune
python3
ripgrep
rsync
]; ];
# This value determines the Home Manager release that your # This value determines the Home Manager release that your
@ -48,22 +54,17 @@
shellAliases = { shellAliases = {
# show dirs only # show dirs only
alias ld="ls -lF --color=always | grep --color=never '^d' "; ld = "ls -lF --color=always | grep --color=never '^d' ";
# show files only # show files only
alias lf="ls -lF --color=always | grep --color=never -v '^d' "; lf = "ls -lF --color=always | grep --color=never -v '^d' ";
alias ll="ls -aGFhl --color=always "; ll = "ls -aGFhl --color=always ";
alias rs="rsync -a --info=progress2 "; rs = "rsync -a --info=progress2 ";
alias sudo="sudo "; sudo = "sudo ";
}; };
}; };
home.packages = with pkgs; [
alacritty
python3
];
home.sessionVariables = { home.sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
TERM = "alacritty"; TERM = "alacritty";

Loading…
Cancel
Save