clean up fish config

This commit is contained in:
insects 2024-08-21 16:00:15 +02:00
parent 3151b79560
commit c2cc6484ef

View file

@ -29,13 +29,9 @@
set -x USER lu set -x USER lu
set -x SHELL (which fish) set -x SHELL (which fish)
set -x TERM xterm-256color set -x TERM xterm-256color
set -x LANG en_US.UTF-8
set -x LC_ALL en_US.UTF-8
set -x LC_CTYPE en_US.UTF-8
set -x LANGUAGE en_US.UTF-8
''; '';
shellAbbrs = { shellAliases = {
# General aliases # General aliases
c = "clear"; c = "clear";
ll = "ls -lahF --color=always"; ll = "ls -lahF --color=always";
@ -49,7 +45,6 @@
cp = "cp -r"; cp = "cp -r";
scp = "scp -r"; scp = "scp -r";
apt = "sudo apt"; apt = "sudo apt";
doc = "sudo docker";
docker = "sudo docker"; docker = "sudo docker";
sctl = "sudo systemctl"; sctl = "sudo systemctl";
usctl = "systemctl --user"; usctl = "systemctl --user";
@ -97,12 +92,8 @@
nd = "nix develop"; nd = "nix develop";
ns = "nix shell"; ns = "nix shell";
np = "nix profile"; np = "nix profile";
ngc = "nix-collect-garbage"; ngc = "nh clean all --keep 3";
hm = "home-manager"; rebuild = "nh os switch";
hmreload = "cd ~/nix-config && home-manager switch --flake .#(whoami)@(hostname) && cd -";
hminplace = "home-manager switch --flake .#(whoami)@(hostname)";
nmreload = "cd ~/nix-config && sudo nixos-rebuild switch --flake .";
nminplace = "sudo nixos-rebuild switch --flake .";
}; };
plugins = [ plugins = [