Append text to .bashrc
This commit is contained in:
parent
f6de967e2a
commit
e0e85ba68b
2 changed files with 2 additions and 2 deletions
|
@ -15,5 +15,5 @@ else
|
|||
echo "alias ls='logo-ls -D'"
|
||||
echo "alias ll='ls -al'"
|
||||
echo "alias l='ls'"
|
||||
} | sudo -u $1 tee $homeDir/.bashrc
|
||||
} | sudo -u $1 tee -a $homeDir/.bashrc
|
||||
fi
|
||||
|
|
|
@ -18,5 +18,5 @@ else
|
|||
homeDir=$(sudo -u $1 bash -c 'realpath ~')
|
||||
|
||||
echo 'eval "$(oh-my-posh init bash --config ~/Nextcloud/.omp/manuel.omp.json)' \
|
||||
| sudo -u $1 tee $homeDir/.bashrc
|
||||
| sudo -u $1 tee -a $homeDir/.bashrc
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue