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:
parent
e5d0b1a9fb
commit
a1e145871b
9
setup.sh
9
setup.sh
@ -414,9 +414,12 @@ main() {
|
|||||||
export PATH=$PATH:$DOTFILES_PATH/bin
|
export PATH=$PATH:$DOTFILES_PATH/bin
|
||||||
|
|
||||||
# Create new .bashrc with exports for initial `dotf update` command
|
# Create new .bashrc with exports for initial `dotf update` command
|
||||||
echo "export NIXPKGS_ALLOW_INSECURE=1" >> $HOME/.bashrc
|
cat << 'EOF' >> $HOME/.bashrc
|
||||||
echo "export DOTFILES_PATH=$DOTFILES_PATH" >> $HOME/.bashrc
|
export NIXPKGS_ALLOW_INSECURE=1
|
||||||
echo "export PATH=$PATH:$DOTFILES_PATH/bin" >> $HOME/.bashrc
|
export DOTFILES_PATH=$DOTFILES_PATH
|
||||||
|
export PATH=$PATH:$DOTFILES_PATH/bin
|
||||||
|
export PATH=$PATH:$HOME/.local/bin
|
||||||
|
EOF
|
||||||
cp $HOME/.bashrc $HOME/.profile
|
cp $HOME/.bashrc $HOME/.profile
|
||||||
|
|
||||||
# Create setup marker
|
# Create setup marker
|
||||||
|
Loading…
x
Reference in New Issue
Block a user