lkjdsalkjdsalkj
This commit is contained in:
@@ -30,7 +30,9 @@ zeditor-remote() {
|
||||
|
||||
# ask tailscale
|
||||
if command -v tailscale >/dev/null; then
|
||||
tailscale status --json | jq .Peer[].HostName -r
|
||||
# tailscale status --json | jq .Peer[].HostName -r
|
||||
# tailscale status --json | jq '.Peer[].DNSName | rtrimstr(".")' -r
|
||||
tailscale status --json | jq '.MagicDNSSuffix as $suffix | .Peer[].DNSName | rtrimstr(".") | rtrimstr("." + $suffix)' -r
|
||||
fi
|
||||
|
||||
# search .ssh/known_hosts, strip DNS search domains to deduplicate
|
||||
|
||||
@@ -23,6 +23,13 @@ in
|
||||
# Warn if closing shell with running jobs.
|
||||
"checkjobs"
|
||||
];
|
||||
# programs.bash.historySize = 10000; # in ram
|
||||
# programs.bash.historyFileSize = 100000; # on file
|
||||
programs.bash.historyControl = [
|
||||
"erasedups"
|
||||
"ignoreboth"
|
||||
];
|
||||
programs.bash.historyIgnore = [ "ls" "file" "cat" "type" "exit" ];
|
||||
programs.bash.initExtra = ''
|
||||
# tldr
|
||||
if command -v tldr >/dev/null; then
|
||||
@@ -177,7 +184,7 @@ in
|
||||
#fq # jq for binaries
|
||||
xh # "friendly fast curl"
|
||||
htmlq # html css queries
|
||||
xan # a jq for csv, zsv
|
||||
(pkgs.xan or null) # a jq for csv, zsv
|
||||
# xee # xml xpath queries
|
||||
just # justfile
|
||||
gum
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
"sopp.pbsds.net".host = "sopp.tail9aac63.ts.net";
|
||||
"noximilien.pbsds.net".host = "noximilien.tail9aac63.ts.net";
|
||||
"rocm.pbsds.net".proxyJump = "login.pvv.ntnu.no";
|
||||
"furiphoneflx1.pbsds.net".user = "furios";
|
||||
|
||||
# nixos org
|
||||
#"aarch64.nixos.community" = {};
|
||||
|
||||
Reference in New Issue
Block a user