You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to reinstall Nix but I am having a lot of issues. I raised an issue last week but was pointed to another comment as mine was duplicative but now am getting this error when I try to curl.
cp: /etc/bashrc.backup-before-nix: No such file or directory
sudo vim /etc/bashrc.backup-before-nix
sudo mv /etc/bashrc.backup-before-nix /etc/bashrc
I back up shell profile/rc scripts before I add Nix to them.
I need to back up /etc/zshrc to /etc/zshrc.backup-before-nix,
but the latter already exists.
Here's how to clean up the old backup file:
Back up (copy) /etc/zshrc and /etc/zshrc.backup-before-nix
to another location, just in case.
Ensure /etc/zshrc.backup-before-nix does not have anything
Nix-related in it. If it does, something is probably quite
wrong. Please open an issue or get in touch immediately.
System-wide profile for interactive zsh(1) shells.
Setup user specific overrides for this in ~/.zshrc. See zshbuiltins(1)
and zshoptions(1) for more details.
Correctly display UTF-8 with combining characters.
if [[ "$(locale LC_CTYPE)" == "UTF-8" ]]; then
setopt COMBINING_CHARS
fi
Disable the log builtin, so we don't conflict with /usr/bin/log
Platform
Additional information
I am trying to reinstall Nix but I am having a lot of issues. I raised an issue last week but was pointed to another comment as mine was duplicative but now am getting this error when I try to curl.
Output
Output
sudo cp /etc/bashrc /etc/bashrc.bak
sudo cp /etc/bashrc.backup-before-nix /etc/bashrc.backup-before-nix.bak
sudo cp /etc/bashrc.backup-before-nix /etc/bashrc.backup-before-nix.bak
cp: /etc/bashrc.backup-before-nix: No such file or directory
sudo vim /etc/bashrc.backup-before-nix
sudo mv /etc/bashrc.backup-before-nix /etc/bashrc
I back up shell profile/rc scripts before I add Nix to them.
I need to back up /etc/zshrc to /etc/zshrc.backup-before-nix,
but the latter already exists.
Here's how to clean up the old backup file:
Back up (copy) /etc/zshrc and /etc/zshrc.backup-before-nix
to another location, just in case.
Ensure /etc/zshrc.backup-before-nix does not have anything
Nix-related in it. If it does, something is probably quite
wrong. Please open an issue or get in touch immediately.
System-wide profile for interactive zsh(1) shells.
Setup user specific overrides for this in ~/.zshrc. See zshbuiltins(1)
and zshoptions(1) for more details.
Correctly display UTF-8 with combining characters.
if [[ "$(locale LC_CTYPE)" == "UTF-8" ]]; then
setopt COMBINING_CHARS
fi
Disable the log builtin, so we don't conflict with /usr/bin/log
disable log
Save command history
HISTFILE=${ZDOTDIR:-$HOME}/.zsh_history
HISTSIZE=2000
SAVEHIST=1000
Beep on error
setopt BEEP
Use keycodes (generated via zkbd) if present, otherwise fallback on
values from terminfo
if [[ -r ${ZDOTDIR:-$HOME}/.zkbd/${TERM}-${VENDOR} ]] ; then
"/etc/zshrc.backup-before-nix" [readonly] 73L, 3094B
Checklist
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: