Skip to content

Commit

Permalink
Remove shell aliases ni and ns
Browse files Browse the repository at this point in the history
Aliases are unrelated to completions and may confuse users.
It is also easier to add aliases in nix than to remove them.
  • Loading branch information
xwjqv authored Oct 6, 2024
1 parent 7558fc9 commit 4d8a311
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions nix-zsh-completions.plugin.zsh
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# Nix Install
alias ni='nix-env -iA'

# Nix Search
alias ns='nix-env -qaP'

function prompt_nix_shell_precmd {
if [[ -n ${IN_NIX_SHELL} && ${IN_NIX_SHELL} != "0" || ${IN_NIX_RUN} && ${IN_NIX_RUN} != "0" ]]; then
if [[ -n ${IN_WHICH_NIX_SHELL} ]] then
Expand Down

0 comments on commit 4d8a311

Please sign in to comment.