feat: add local bin to path for ansible initial run
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
Some checks failed
Nix Format Check / check-format (push) Failing after 37s
This commit is contained in:
9
setup.sh
9
setup.sh
@@ -414,9 +414,12 @@ main() {
|
||||
export PATH=$PATH:$DOTFILES_PATH/bin
|
||||
|
||||
# Create new .bashrc with exports for initial `dotf update` command
|
||||
echo "export NIXPKGS_ALLOW_INSECURE=1" >> $HOME/.bashrc
|
||||
echo "export DOTFILES_PATH=$DOTFILES_PATH" >> $HOME/.bashrc
|
||||
echo "export PATH=$PATH:$DOTFILES_PATH/bin" >> $HOME/.bashrc
|
||||
cat << 'EOF' >> $HOME/.bashrc
|
||||
export NIXPKGS_ALLOW_INSECURE=1
|
||||
export DOTFILES_PATH=$DOTFILES_PATH
|
||||
export PATH=$PATH:$DOTFILES_PATH/bin
|
||||
export PATH=$PATH:$HOME/.local/bin
|
||||
EOF
|
||||
cp $HOME/.bashrc $HOME/.profile
|
||||
|
||||
# Create setup marker
|
||||
|
Reference in New Issue
Block a user