zoxide: add nushell + xonsh init

This commit is contained in:
FollieHiyuki 2021-04-09 13:20:29 +03:00
parent 6dcec7b3ca
commit 42089e295f
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
skip_welcome_message = true
prompt = "__zoxide_hook; starship prompt"
startup = [
"zoxide init nushell --hook prompt | save ~/.local/share/nu/zoxide.nu",
"source ~/.local/share/nu/zoxide.nu"
]
[line_editor]
completion_type = "list"
edit_mode = "vi"
[textview]
pager = "less -R"
paging_mode = "quitifonescreen"
true_color = true
theme = "base16"

1
home/.xonshrc Normal file
View File

@ -0,0 +1 @@
execx($(zoxide init xonsh), 'exec', __xonsh__.ctx, filename='zoxide')