Move around aliases.
This should remove aliases that are only useful on NixOS-WSL due to using Windows binaries. (It's finally time that I did this lol)
This commit is contained in:
parent
e4909092a1
commit
02923d376f
1 changed files with 8 additions and 7 deletions
|
@ -1,5 +1,13 @@
|
|||
{ 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";
|
||||
|
@ -8,12 +16,5 @@
|
|||
"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.
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue