2024-10-24 01:24:22 -04:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
osConfig,
|
|
|
|
...
|
|
|
|
}:
|
2024-05-13 23:18:54 -04:00
|
|
|
{
|
|
|
|
home.shellAliases = {
|
2024-10-24 01:24:22 -04:00
|
|
|
# From Nix environment
|
|
|
|
"7z" = "7zz";
|
|
|
|
# "7zz" is from "nixpkgs#_7zz"
|
|
|
|
"termbin" = "nc termbin.com 9999";
|
|
|
|
# Alias that lets me upload text to https://termbin.com/
|
|
|
|
# Mainly so I can lazily upload build logs.
|
|
|
|
} // lib.optionalAttrs (osConfig.wsl.enable or false) {
|
2024-05-13 23:18:54 -04:00
|
|
|
# From Windows "%PATH%"
|
|
|
|
"adb" = "adb.exe";
|
2024-10-12 13:44:56 -04:00
|
|
|
"caja" = "wsl-open";
|
2024-05-13 23:18:54 -04:00
|
|
|
"hactoolnet" = "hactoolnet.exe";
|
|
|
|
"mpv" = "mpv.com";
|
|
|
|
"tailscale" = "tailscale.exe";
|
|
|
|
"yt-dlp" = "yt-dlp.exe";
|
|
|
|
"7zexe" = "/mnt/c/Program\\ Files/7-Zip/7z.exe";
|
|
|
|
};
|
|
|
|
}
|