From 9ec30728ddccee4c5c031412744936b65c973701 Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Wed, 3 Feb 2021 17:09:38 +0100 Subject: [PATCH] added back dotnet stuff --- bash/.alias.sh | 2 +- bash/.bashrc | 5 +++++ bash/mounts.sh | 2 +- computers/dev-pc/xprofile.sh | 2 +- dependencies/aur.txt | 1 + 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bash/.alias.sh b/bash/.alias.sh index c48227b..859fd5e 100644 --- a/bash/.alias.sh +++ b/bash/.alias.sh @@ -87,7 +87,7 @@ alias cmyip='curl -s http://ipecho.net/plain; echo' ## default command fixes :P alias mkdir='mkdir -p' alias wget='wget -c' -alias ls='ls -l --color=auto' +alias ls='ls -lh --color=auto' alias installed='sudo pacman -Qetq' alias aurinstalled='sudo pacman -Qmq' alias sudo='sudo ' diff --git a/bash/.bashrc b/bash/.bashrc index 4b85c47..60699e3 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -26,6 +26,11 @@ 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 +if hash dotnet 2>/dev/null; then + export DOTNET_ROOT=/usr/share/dotnet + export MSBuildSDKsPath=$DOTNET_ROOT/sdk/$(${DOTNET_ROOT}/dotnet --version)/Sdks + export PATH="${PATH}:${DOTNET_ROOT}:~/.dotnet/tools" +fi PS1='[\u@\h \W]\$ ' diff --git a/bash/mounts.sh b/bash/mounts.sh index c4b7d8d..111b2b2 100644 --- a/bash/mounts.sh +++ b/bash/mounts.sh @@ -7,7 +7,7 @@ if [ "$EUID" -ne 0 ]; then fi # declare variables -MY_SERVER_LOCATION="//192.168.1.3" +MY_SERVER_LOCATION="//10.10.1.11" MOUNT_PREFIX="/mnt" USERNAME="mastermindzh" diff --git a/computers/dev-pc/xprofile.sh b/computers/dev-pc/xprofile.sh index 2f8305e..4c77a02 100644 --- a/computers/dev-pc/xprofile.sh +++ b/computers/dev-pc/xprofile.sh @@ -1,2 +1,2 @@ #!/bin/sh -xrandr --output DVI-I-0 --off --output DVI-I-1 --off --output HDMI-0 --off --output DP-0 --off --output DP-1 --off --output DVI-D-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal +xrandr --output DVI-I-0 --off --output DVI-I-1 --off --output HDMI-0 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-0 --off --output DP-1 --off --output DVI-D-0 --off diff --git a/dependencies/aur.txt b/dependencies/aur.txt index d78497b..a4ae4ee 100644 --- a/dependencies/aur.txt +++ b/dependencies/aur.txt @@ -14,3 +14,4 @@ snapd azure-cli notify-osd-customizable notifyconf +dotnet-host-bin