-
Notifications
You must be signed in to change notification settings - Fork 87
Expand file tree
/
Copy pathzsh_alias.nix
More file actions
45 lines (42 loc) · 1.14 KB
/
zsh_alias.nix
File metadata and controls
45 lines (42 loc) · 1.14 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ ... }:
{
programs.zsh = {
shellAliases = {
# Utils
c = "clear";
cd = "z";
tt = "gtrash put";
cat = "bat";
nano = "micro";
code = "codium";
diff = "delta --diff-so-fancy --side-by-side";
less = "bat";
copy = "wl-copy";
f = "superfile";
py = "python";
ipy = "ipython";
icat = "kitten icat";
dsize = "du -hs";
pdf = "tdf";
open = "xdg-open";
space = "ncdu";
man = "batman";
l = "eza --icons -a --group-directories-first -1 --no-user --long"; # EZA_ICON_SPACING=2
tree = "eza --icons --tree --group-directories-first";
# Nixos
cdnix = "cd ~/nixos-config && codium ~/nixos-config";
ns = "nom-shell --run zsh";
nsp = "nom-shell --run zsh -p";
nd = "nom develop --command zsh";
nb = "nom build";
nc = "nh-notify nh clean all --keep 5";
nft = "nh-notify nh os test";
nfs = "nh-notify nh os switch";
nfu = "nh-notify nh os switch --update";
nsearch = "nh search";
# python
piv = "python -m venv .venv";
psv = "source .venv/bin/activate";
};
};
}