removed 1 from /dev/null1 and removed neofetch

This commit is contained in:
Rick van Lieshout 2019-12-16 11:36:13 +01:00
parent 2c213f30e9
commit 7d81df3476

View File

@ -21,15 +21,12 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Fix .netcore paths if dotnet is installed # Fix .netcore paths if dotnet is installed
if hash dotnet 2>/dev/null1; then if hash dotnet 2>/dev/null; then
export DOTNET_ROOT=/opt/dotnet export DOTNET_ROOT=/opt/dotnet
export MSBuildSDKsPath=$DOTNET_ROOT/sdk/$(${DOTNET_ROOT}/dotnet --version)/Sdks export MSBuildSDKsPath=$DOTNET_ROOT/sdk/$(${DOTNET_ROOT}/dotnet --version)/Sdks
export PATH="${PATH}:${DOTNET_ROOT}:~/.dotnet/tools" export PATH="${PATH}:${DOTNET_ROOT}:~/.dotnet/tools"
fi fi
#... :P fancy stuffs
#screenfetch -t -A "UBUNTU"
neofetch
PS1='[\u@\h \W]\$ ' PS1='[\u@\h \W]\$ '
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then