diff --git a/config.nu b/config.nu new file mode 100644 index 0000000..20b82eb --- /dev/null +++ b/config.nu @@ -0,0 +1,43 @@ +# config.nu +# +# Installed by: +# version = "0.102.0" +# +# This file is used to override default Nushell settings, define +# (or import) custom commands, or run any other startup tasks. +# See https://www.nushell.sh/book/configuration.html +# +# This file is loaded after env.nu and before login.nu +# +# You can open this file in your default editor using: +# config nu +# +# See `help config nu` for more options +# +# You can remove these comments if you want or leave +# them for future reference. + +# you have to oh-my-posh init nu --config +# after that you can --> +source ~/.oh-my-posh.nu + +# you have to zoxide init nushell | safe -f ~/.zoxide.nu +# after that you can --> +source ~/.zoxide.nu + +$env.config.history.file_format = "sqlite" +$env.config.history.max_size = 5_000_000 +$env.config.history.sync_on_enter = true +$env.config.history.isolation = false + +$env.config.show_banner = true + +$env.config.completions.algorithm = "prefix" +$env.config.completions.sort = "smart" +$env.config.completions.case_sensitive = false +$env.config.completions.quick = true + +$env.config.error_style = "fancy" +$env.config.display_errors.exit_code = true + +$env.config.datetime_format.normal = "%y.%m.%d %H:%M:%S%" diff --git a/env.nu b/env.nu new file mode 100644 index 0000000..2461820 --- /dev/null +++ b/env.nu @@ -0,0 +1,20 @@ +# env.nu +# +# Installed by: +# version = "0.102.0" +# +# Previously, environment variables were typically configured in `env.nu`. +# In general, most configuration can and should be performed in `config.nu` +# or one of the autoload directories. +# +# This file is generated for backwards compatibility for now. +# It is loaded before config.nu and login.nu +# +# See https://www.nushell.sh/book/configuration.html +# +# Also see `help config env` for more options. +# +# You can remove these comments if you want or leave +# them for future reference. + +$env.config.buffer_editor = "nvim" diff --git a/history.sqlite3 b/history.sqlite3 new file mode 100644 index 0000000..b0ec2e9 Binary files /dev/null and b/history.sqlite3 differ diff --git a/history.sqlite3-shm b/history.sqlite3-shm new file mode 100644 index 0000000..5e16c27 Binary files /dev/null and b/history.sqlite3-shm differ diff --git a/history.sqlite3-wal b/history.sqlite3-wal new file mode 100644 index 0000000..c793349 Binary files /dev/null and b/history.sqlite3-wal differ diff --git a/history.txt b/history.txt new file mode 100644 index 0000000..f8cb7e5 --- /dev/null +++ b/history.txt @@ -0,0 +1,45 @@ +z +ls +l +ls +$env.config.buffer_editor = nvim +$env.config.buffer_editor = "$(which nvim)" +config nu +$env.config.buffer_editor = "nvim" +config nu +config -nu --doc | nu-highlight | less -R +config nu --doc | nu-highlight | less -R +config nu +ls | where type == dir +ls | where type == fiel +ls | where type == file +ls +ls | where size > 4.0kB +ls | where size < 4.0kB +clear +l +ls +clear +config nu +config env +config nu --doc +config nu --doc | nu-highlight | less -R +config nu --doc | nu-highlight +config nu --doc | nu-highlight | bat +config nu --doc | nu-highlight | less -R +clear +cd +config nu +clear +config nu +config nu --doc | nu-highlight | less -R +clear +z +zoxide +zoxide --init +zoxide init +zoxide init nu +zoxide init nushell +source ~/.zoxide.nu +clear +cd hyprdo