feat(zsh): re-add suffix aliases

This commit is contained in:
Oliver Davies 2023-09-14 07:30:38 +01:00
parent 610fc6ffbf
commit de69d1253b
2 changed files with 26 additions and 16 deletions

View file

@ -84,22 +84,20 @@ in
services.avahi.openFirewall = true; services.avahi.openFirewall = true;
services.printing.enable = true; services.printing.enable = true;
# Enable sound with pipewire.
sound.enable = true;
hardware.pulseaudio.enable = true;
security.rtkit.enable = true; security.rtkit.enable = true;
# services.pipewire = { services.pipewire = {
# enable = true; enable = true;
# alsa.enable = true; alsa.enable = true;
# alsa.support32Bit = true; alsa.support32Bit = true;
# pulse.enable = true; pulse.enable = true;
# # If you want to use JACK applications, uncomment this };
# #jack.enable = true;
# services.cron = {
# # use the example session manager (no others are packaged yet so this is enabled by default, enable = true;
# # no need to redefine it in your config for now) systemCronJobs = [
# #media-session.enable = true; "0 18 * * 5 ${pkgs.bash}/bin/bash -c 'rm -rf /home/${username}/Downloads/*'"
# }; ];
};
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
@ -107,7 +105,7 @@ in
users.users.${username} = { users.users.${username} = {
isNormalUser = true; isNormalUser = true;
description = "Oliver Davies"; description = "Oliver Davies";
extraGroups = [ "docker" "networkmanager" "wheel" ]; extraGroups = [ "docker" "networkmanager" "wheel" "audio" ];
packages = with pkgs; [ ]; packages = with pkgs; [ ];
}; };

View file

@ -367,6 +367,18 @@ in
ialias build-configs="~/Code/Personal/build-configs/bin/build-configs run" ialias build-configs="~/Code/Personal/build-configs/bin/build-configs run"
ialias update-build-configs="~/Code/Personal/build-configs-updater/update.sh" ialias update-build-configs="~/Code/Personal/build-configs-updater/update.sh"
alias -g A1="| awk '{print \$1}'"
alias -g Fj='| jq .'
alias -g Fy='| yq .'
alias -g G='| grep'
alias -g GH='| grep HTTP'
alias -g Gi='| grep -i'
alias -g H2='| head -n 20'
alias -g H='| head'
alias -g L='| less'
alias -g V='| vim -'
alias -g X='| xargs -I1'
setopt auto_cd setopt auto_cd
setopt auto_pushd setopt auto_pushd
setopt pushd_ignore_dups setopt pushd_ignore_dups