repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

chore(nushell): remove generated files

353d0dc3f38942d52b6c3d158c96546b94e834ad

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (2)

+0 / −91 text lines

Diff layout

nushell/aliases.nu

Deleted
deleted file mode 100644

+0 / −21 text lines

1alias view = wezterm imgcat
2alias list = ls --long --all --du
3alias show = bat
4alias code = neovide
5alias edit = nvim --clean
6alias video = mpv --no-config --vo=kitty --vo-kitty-use-shm=yes --profile=sw-fast --really-quiet
7alias package = mise use --global
8alias unpackage = mise unuse --global
9alias ll = ls --long
10alias la = ls --long --all
11alias q = exit
12alias g = git
13alias vim = nvim
14alias vi = nvim --clean
15alias vide = neovide
16alias delta = delta --hyperlinks --hyperlinks-file-link-format="file://{path}#{line}"
17alias rg = rg --hyperlink-format=kitty
18alias pii = pi install
19alias pia = pi --tools read,bash,edit,write,grep,find,ls
20alias pic = pi --tools read,bash,edit,write,grep,find,ls --continue
21alias aes = java C:\Users\okr\Workspace\dotfiles/tools/aes.java

nushell/zoxide.nu

Deleted
deleted file mode 100644

+0 / −70 text lines

1# Code generated by zoxide. DO NOT EDIT.
2
3# =============================================================================
4#
5# Hook configuration for zoxide.
6#
7
8# Initialize hook to add new entries to the database.
9export-env {
10 $env.config = (
11 $env.config?
12 | default {}
13 | upsert hooks { default {} }
14 | upsert hooks.env_change { default {} }
15 | upsert hooks.env_change.PWD { default [] }
16 )
17 let __zoxide_hooked = (
18 $env.config.hooks.env_change.PWD | any { try { get __zoxide_hook } catch { false } }
19 )
20 if not $__zoxide_hooked {
21 $env.config.hooks.env_change.PWD = ($env.config.hooks.env_change.PWD | append {
22 __zoxide_hook: true,
23 code: {|_, dir| ^zoxide add -- $dir}
24 })
25 }
26}
28# =============================================================================
29#
30# When using zoxide with --no-cmd, alias these internal functions as desired.
31#
33# Jump to a directory using only keywords.
34export def --env --wrapped __zoxide_z [...rest: directory] {
35 let path = match $rest {
36 [] => {'~'},
37 [ '-' ] => {'-'},
38 [ $arg ] if ($arg | path expand | path type) == 'dir' => {$arg}
39 _ => {
40 ^zoxide query --exclude $env.PWD -- ...$rest | str trim -r -c "\n"
41 }
42 }
43 cd $path
44}
46# Jump to a directory using interactive search.
47export def --env --wrapped __zoxide_zi [...rest: string] {
48 cd $'(^zoxide query --interactive -- ...$rest | str trim -r -c "\n")'
49}
51# =============================================================================
52#
53# Commands for zoxide. Disable these using --no-cmd.
54#
56export alias z = __zoxide_z
57export alias zi = __zoxide_zi
59# =============================================================================
60#
61# Add this to your env file (find it by running `$nu.env-path` in Nushell):
62#
63# zoxide init nushell | save -f ~/.zoxide.nu
64#
65# Now, add this to the end of your config file (find it by running
66# `$nu.config-path` in Nushell):
67#
68# source ~/.zoxide.nu
69#
70# Note: zoxide only supports Nushell v0.89.0+.