blob: 5021ce19fe7d69142e136818cd2020ed0939948d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#zsh.nix
#Zsh configuration
{ ... }:
{
programs.fish = {
enable = true;
shellAliases = {
ll = "ls -l";
gs = "git status";
nxrs = "sudo nixos-rebuild switch --flake .";
nivm = "nvim";
nimv = "nvim"; #wonder why these 2 exits
neofetch = "fastfetch";
ga = "git add";
gc = "git commit";
gr = "git restore";
ndw = "sudo nmcli device wifi"; #Nah terminal is all you need for wifi and bt
gti = "git"; #Typo final boss
};
shellInit = ''
shuf -n 1 ~/.tips | cowsay
oh-my-posh init fish -c ~/.config/omp/catppuccin_mocha.json | source
'';
};
home.file.".tips".source = ./tips;
}
|