Skip to content
Myr

nushell: [install] Print absolute path to the generated file

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 290b18d · Browse files · 1 file+5 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−4 removed

  • other:+5 added−4 removed

1 file+5 added−4 removed

modified:install+5 added-4 removed
445 unmodified lines
446if [[ "$shells" =~ nushell ]]; then447 if [[ $key_bindings -eq 1 || $auto_completion -eq 1 ]]; then448 echo "Setting up Nushell integration ..."449 mkdir -p "$nushell_autoload_dir"450 echo -n " Generate _fzf_integration.nu ... "450 dest="$nushell_autoload_dir/_fzf_integration.nu"451 echo -n " Generate $dest ... "452 if [[ $key_bindings -eq 1 && $auto_completion -eq 1 ]]; then452 "$fzf_base"/bin/fzf --nushell > "$nushell_autoload_dir/_fzf_integration.nu"453 "$fzf_base"/bin/fzf --nushell > "$dest"454 elif [[ $key_bindings -eq 1 ]]; then454 cp "$fzf_base/shell/key-bindings.nu" "$nushell_autoload_dir/_fzf_integration.nu"455 cp "$fzf_base/shell/key-bindings.nu" "$dest"456 else456 cp "$fzf_base/shell/completion.nu" "$nushell_autoload_dir/_fzf_integration.nu"457 cp "$fzf_base/shell/completion.nu" "$dest"458 fi459 echo "OK"460 echo461 fi
17 unmodified lines