Append text to .bashrc
This commit is contained in:
parent
44101a0ff9
commit
7b9860699b
|
@ -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