mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
Improve nix init
This commit is contained in:
+3
-1
@@ -200,7 +200,9 @@ fi
|
|||||||
# Nix
|
# Nix
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
if command nix-env &>/dev/null; then
|
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
|
||||||
|
. $HOME/.nix-profile/etc/profile.d/nix.sh;
|
||||||
|
|
||||||
alias nix-update='nix-channel --update && nix-env -u'
|
alias nix-update='nix-channel --update && nix-env -u'
|
||||||
|
|
||||||
nix-search() {
|
nix-search() {
|
||||||
|
|||||||
Reference in New Issue
Block a user