first commit

This commit is contained in:
pika 2025-03-24 16:24:30 +01:00
parent cdc77242da
commit 69eb23872a
6 changed files with 108 additions and 0 deletions

43
config.nu Normal file
View file

@ -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 <path to theme>
# 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%"

20
env.nu Normal file
View file

@ -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"

BIN
history.sqlite3 Normal file

Binary file not shown.

BIN
history.sqlite3-shm Normal file

Binary file not shown.

BIN
history.sqlite3-wal Normal file

Binary file not shown.

45
history.txt Normal file
View file

@ -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