Okay so uh, that may have removed all of my Useful-in-WSL aliases.

Oops.
This commit is contained in:
Whovian NTSN 2024-09-23 01:43:18 -04:00
parent 757d8f9ace
commit 9b47da2a6b

View file

@ -1,13 +1,5 @@
{ nixpkgs, ... }:
{
home.shellAliases = {
# 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.
} // nixpkgs.lib.optionalAttrs (nixpkgs.lib.options ? wsl) {
# From Windows "%PATH%"
"adb" = "adb.exe";
"caja" = "explorer.exe";
@ -16,5 +8,13 @@
"tailscale" = "tailscale.exe";
"yt-dlp" = "yt-dlp.exe";
"7zexe" = "/mnt/c/Program\\ Files/7-Zip/7z.exe";
# 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.
# } // nixpkgs.lib.optionalAttrs (nixpkgs.lib.options ? wsl) {
};
}