diff --git a/apps/nogui/nushell/jolheiser.nu b/apps/nogui/nushell/jolheiser.nu index da8d89ca5d46c9b2f6b7a278dcd178aabf9c58bc..0d6e4bcaeaaa4c9be01d5c44e09863af274b11d4 100644 --- a/apps/nogui/nushell/jolheiser.nu +++ b/apps/nogui/nushell/jolheiser.nu @@ -51,11 +51,6 @@ ^git remote add upstream $upstream ^git fetch upstream } -def fg [args ...string] { - ^rg --ignore-case --color=always --line-number --no-heading $args - | ^fzf --ansi --color 'hl:-1:underline,hl+:-1:underline:reverse' --delimiter ':' --preview "bat --color=always {1} --theme='ctp-mocha' --highlight-line {2}" --preview-window 'up,60%,border-bottom,+{2}+3/3,~3' --bind $"enter:become\(($env.EDITOR) +{2} {1}\)" -} - ## Other ## $env.EDITOR = hx $env.config = ($env.config | upsert "shell_integration" ("WEZTERM_PANE" not-in $env and "SSH_CLIENT" not-in $env))