Skip to content

Commit 5742835

Browse files
committed
shell/completion.nu: disable export, printenv, unset, unalias
I'm not even sure how to use those and they miserably fail.
1 parent 032bde7 commit 5742835

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shell/completion.nu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,9 @@ let fzf_external_completer = {|spans|
461461
match $cmd_word {
462462
"pass" => { $completion_results = (_fzf_complete_pass_nu $prefix) }
463463
"ssh" | "scp" | "sftp" | "telnet" => { $completion_results = (_fzf_complete_ssh_nu $prefix $line_without_trigger) }
464-
"export" | "printenv" => { $completion_results = (_fzf_complete_export_nu $prefix) }
465-
"unset" => { $completion_results = (_fzf_complete_unset_nu $prefix) }
466-
"unalias" => { $completion_results = (_fzf_complete_unalias_nu $prefix) }
464+
# "export" | "printenv" => { $completion_results = (_fzf_complete_export_nu $prefix) }
465+
# "unset" => { $completion_results = (_fzf_complete_unset_nu $prefix) }
466+
# "unalias" => { $completion_results = (_fzf_complete_unalias_nu $prefix) }
467467
"kill" => { $completion_results = (_fzf_complete_kill_nu $prefix) }
468468
"cd" | "pushd" | "rmdir" => { $completion_results = (__fzf_generic_path_completion_nu $prefix "" [] "/") }
469469
# Add other command-specific completions here

0 commit comments

Comments
 (0)