mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-22 06:44:41 +01:00
some dotnet specific set-up
This commit is contained in:
parent
0936c92f4d
commit
ab7623d1cc
@ -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'
|
||||
|
@ -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
1092
bash/.dotnet-install.sh
Executable file
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
|
4
dependencies/pacman.txt
vendored
4
dependencies/pacman.txt
vendored
@ -75,7 +75,7 @@ geany
|
||||
dotnet-host
|
||||
dotnet-runtime
|
||||
dotnet-sdk
|
||||
dotnet-runtime-2.2
|
||||
dotnet-sdk-2.2
|
||||
aspnet-runtime
|
||||
wget
|
||||
pyenv
|
||||
jq
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user