nushell
This commit is contained in:
parent
6237bf055f
commit
e9dc2f3189
2 changed files with 5 additions and 5 deletions
|
|
@ -155,7 +155,7 @@ $env.config = {
|
||||||
}
|
}
|
||||||
|
|
||||||
rm: {
|
rm: {
|
||||||
always_trash: false # always act as if -t was given. Can be overridden with -p
|
always_trash: true # always act as if -t was given. Can be overridden with -p
|
||||||
}
|
}
|
||||||
|
|
||||||
table: {
|
table: {
|
||||||
|
|
@ -197,8 +197,8 @@ $env.config = {
|
||||||
history: {
|
history: {
|
||||||
max_size: 100_000 # Session has to be reloaded for this to take effect
|
max_size: 100_000 # Session has to be reloaded for this to take effect
|
||||||
sync_on_enter: true # Enable to share history between multiple sessions, else you have to close the session to write history to file
|
sync_on_enter: true # Enable to share history between multiple sessions, else you have to close the session to write history to file
|
||||||
file_format: "plaintext" # "sqlite" or "plaintext"
|
file_format: "sqlite" # "sqlite" or "plaintext"
|
||||||
isolation: false # only available with sqlite file_format. true enables history isolation, false disables it. true will allow the history to be isolated to the current session using up/down arrows. false will allow the history to be shared across all sessions.
|
isolation: true # only available with sqlite file_format. true enables history isolation, false disables it. true will allow the history to be isolated to the current session using up/down arrows. false will allow the history to be shared across all sessions.
|
||||||
}
|
}
|
||||||
|
|
||||||
completions: {
|
completions: {
|
||||||
|
|
@ -215,7 +215,7 @@ $env.config = {
|
||||||
}
|
}
|
||||||
|
|
||||||
filesize: {
|
filesize: {
|
||||||
metric: false # true => KB, MB, GB (ISO standard), false => KiB, MiB, GiB (Windows standard)
|
metric: true # true => KB, MB, GB (ISO standard), false => KiB, MiB, GiB (Windows standard)
|
||||||
format: "auto" # b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib, auto
|
format: "auto" # b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib, auto
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ def check-mullvad [] {
|
||||||
loop {
|
loop {
|
||||||
print "checking connection status"
|
print "checking connection status"
|
||||||
http get https://am.i.mullvad.net/json
|
http get https://am.i.mullvad.net/json
|
||||||
| if $in.mullvad_exit_ip == true {break}
|
| if $in.mullvad_exit_ip == true {break} else {print $in}
|
||||||
sleep 1sec
|
sleep 1sec
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue