conf
This commit is contained in:
parent
2e083df68e
commit
b43fc4e99d
3 changed files with 4 additions and 282 deletions
|
|
@ -205,7 +205,7 @@ $env.config = {
|
|||
case_sensitive: false # set to true to enable case-sensitive completions
|
||||
quick: true # set this to false to prevent auto-selecting completions when only one remains
|
||||
partial: true # set this to false to prevent partial filling of the prompt
|
||||
algorithm: "prefix" # prefix or fuzzy
|
||||
algorithm: "fuzzy" # prefix or fuzzy
|
||||
external: {
|
||||
enable: true # set to false to prevent nushell looking into $env.PATH to find more suggestions, `false` recommended for WSL users as this look up may be very slow
|
||||
max_results: 100 # setting it lower can improve completion performance at the cost of omitting some options
|
||||
|
|
|
|||
|
|
@ -70,10 +70,10 @@ alias rs = rebuild switch
|
|||
alias gc = nh clean all
|
||||
|
||||
def check-mullvad [] {
|
||||
$env.LAST_EXIT_CODE = 69
|
||||
while $env.LAST_EXIT_CODE != 0 {
|
||||
loop {
|
||||
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}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue