some dotnet specific set-up

This commit is contained in:
Rick van Lieshout 2020-03-13 09:11:46 +01:00
parent 0936c92f4d
commit ab7623d1cc
6 changed files with 1098 additions and 8 deletions

View File

@ -60,6 +60,7 @@ alias addpgpkey='gpg --recv-keys'
alias clean-trash='sudo rm -rf ~/.local/share/Trash/*'
alias clean-journal='sudo journalctl --vacuum-time=2d'
alias clean-all='clean-trash && clean-journal && clean-pacmancache && docker-clean-all'
alias dotnet-install='~/.dotnet-install.sh --install-dir /usr/share/dotnet/ -channel Current -version'
# cli tools
alias crypto='curl -s rate.sx?qF | head -n -2 | tail -n +10'

View File

@ -25,12 +25,6 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Fix .netcore paths if dotnet is installed
if hash dotnet 2>/dev/null; then
export DOTNET_ROOT=/opt/dotnet
export MSBuildSDKsPath=$DOTNET_ROOT/sdk/$(${DOTNET_ROOT}/dotnet --version)/Sdks
export PATH="${PATH}:${DOTNET_ROOT}:~/.dotnet/tools"
fi
PS1='[\u@\h \W]\$ '

1092
bash/.dotnet-install.sh Executable file

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,4 @@
#!/bin/sh
xrandr --output DVI-I-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DVI-D-1 --primary --mode 1920x1080 --pos 1936x0 --rotate normal --output HDMI-1 --off --output DP-1 --off
xinput --set-prop 14 'libinput Accel Speed' 1

View File

@ -75,7 +75,7 @@ geany
dotnet-host
dotnet-runtime
dotnet-sdk
dotnet-runtime-2.2
dotnet-sdk-2.2
aspnet-runtime
wget
pyenv
jq

View File

@ -88,6 +88,7 @@ function install_config {
# link user files
ln -sf "$PWD"/bash/.bashrc ~/.bashrc
ln -sf "$PWD"/bash/.dotnet-install.sh ~/.dotnet-install.sh
ln -sf "$PWD"/bash/.alias.sh ~/.alias
ln -sf "$PWD"/config/nano/.nanorc ~/.nanorc
ln -sf "$PWD"/bash/.powerline-shell.json ~/.powerline-shell.json