aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2025-12-23 13:10:03 -0800
committerMark Nipper <nipsy@bitgnome.net>2025-12-23 13:10:03 -0800
commit6eab3677f991f16b4a307af3649e8c8894216106 (patch)
treefdec5af579d9a958a5e1f27056b0727b9b1cde7c
parent987fb5919e2cde2c3973ab90be3813f4aa0d6df1 (diff)
downloadnix-6eab3677f991f16b4a307af3649e8c8894216106.tar
nix-6eab3677f991f16b4a307af3649e8c8894216106.tar.gz
nix-6eab3677f991f16b4a307af3649e8c8894216106.tar.bz2
nix-6eab3677f991f16b4a307af3649e8c8894216106.tar.lz
nix-6eab3677f991f16b4a307af3649e8c8894216106.tar.xz
nix-6eab3677f991f16b4a307af3649e8c8894216106.tar.zst
nix-6eab3677f991f16b4a307af3649e8c8894216106.zip
Add working aliases for hidden binariesHEADmaster
-rw-r--r--home/nipsy/common/core/zsh/default.nix4
-rw-r--r--home/root/common/core/zsh/default.nix3
2 files changed, 6 insertions, 1 deletions
diff --git a/home/nipsy/common/core/zsh/default.nix b/home/nipsy/common/core/zsh/default.nix
index 864eec0..6aa8c65 100644
--- a/home/nipsy/common/core/zsh/default.nix
+++ b/home/nipsy/common/core/zsh/default.nix
@@ -1,4 +1,4 @@
-{ lib, ... }:
+{ lib, pkgs, ... }:
{
programs.zsh = {
enable = true;
@@ -43,6 +43,7 @@
shellAliases = {
fixkeyboard = "setxkbmap -layout us -option caps:super -option compose:ralt";
+ ftp = "${pkgs.inetutils}/bin/ftp";
geniso = "nix build ~/git/nix/nipsy#nixosConfigurations.iso.config.system.build.isoImage && ll result/iso/*iso";
grep = "grep --color=auto";
ip = "ip -c=auto";
@@ -52,6 +53,7 @@
nix-list-derivations = "nix-store --query --requisites /run/current-system | cut -d- -f2- | sort | uniq";
nix-list-generations = "nixos-rebuild list-generations";
steam-no-beta = "steam -clearbeta";
+ telnet = "${pkgs.inetutils}/bin/telnet";
zgrep = "zgrep --color=auto";
};
};
diff --git a/home/root/common/core/zsh/default.nix b/home/root/common/core/zsh/default.nix
index a3587b8..58b0c34 100644
--- a/home/root/common/core/zsh/default.nix
+++ b/home/root/common/core/zsh/default.nix
@@ -1,3 +1,4 @@
+{ pkgs, ... }:
{
programs.zsh = {
enable = true;
@@ -21,6 +22,7 @@ export COLORFGBG=";0"
};
initContent = (builtins.readFile ./zshrc);
shellAliases = {
+ ftp = "${pkgs.inetutils}/bin/ftp";
grep = "grep --color=auto";
ip = "ip -c=auto";
la = "ls -aF --color=auto";
@@ -28,6 +30,7 @@ export COLORFGBG=";0"
nix-list-derivations = "nix-store --query --requisites /run/current-system | cut -d- -f2- | sort | uniq";
nix-list-generations = "nixos-rebuild list-generations | cat; echo; nix-env --list-generations --profile /nix/var/nix/profiles/system";
pstrace = "bpftrace -e 'tracepoint:syscalls:sys_enter_exec*{ printf(\"pid: %d, comm: %s, args: \", pid, comm); join(args->argv); }'";
+ telnet = "${pkgs.inetutils}/bin/telnet";
zgrep = "zgrep --color=auto";
};
};