From 27c84f222d62cffc9ba40504cef36ac3b6b04503 Mon Sep 17 00:00:00 2001 From: Rafael Marçalo Date: Wed, 3 Apr 2024 11:43:28 +0100 Subject: Updated pyenv and chromium startup --- misc/.config/misc/aliasrc | 2 +- scripts/.local/bin/activateVenv | 6 ------ scripts/.local/bin/chrome | 3 +++ shell/.config/shell/env | 1 + 4 files changed, 5 insertions(+), 7 deletions(-) delete mode 100755 scripts/.local/bin/activateVenv create mode 100755 scripts/.local/bin/chrome diff --git a/misc/.config/misc/aliasrc b/misc/.config/misc/aliasrc index 59a1fb4..1ae6488 100644 --- a/misc/.config/misc/aliasrc +++ b/misc/.config/misc/aliasrc @@ -28,4 +28,4 @@ alias grep='grep -i' \ m='udisksctl mount -b' \ u='udisksctl unmount -b' \ fixpg='find "$GNUPGHOME" -type f | xargs -I {} chmod 600 {} && find "$GNUPGHOME" -type d | xargs -I {} chmod 700 {}' \ - pyenv='. activateVenv' + pyenv='python -m venv $PYENV && . "$PYENV"/bin/activate' diff --git a/scripts/.local/bin/activateVenv b/scripts/.local/bin/activateVenv deleted file mode 100755 index 07a1696..0000000 --- a/scripts/.local/bin/activateVenv +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -ENVFOLDER=venv - -python -m venv "$ENVFOLDER" -. "$ENVFOLDER"/bin/activate diff --git a/scripts/.local/bin/chrome b/scripts/.local/bin/chrome new file mode 100755 index 0000000..3f0c617 --- /dev/null +++ b/scripts/.local/bin/chrome @@ -0,0 +1,3 @@ +#!/bin/sh + +chromium --incognito diff --git a/shell/.config/shell/env b/shell/.config/shell/env index 3cbbdae..0d40ec8 100755 --- a/shell/.config/shell/env +++ b/shell/.config/shell/env @@ -48,6 +48,7 @@ export DOTNET_CLI_TELEMETRY_OPTOUT=1 export TEXMFHOME="$XDG_DATA_HOME"/texmf export TEXMFVAR="$XDG_CACHE_HOME"/texlive/texmf-var export TEXMFCONFIG="$XDG_CONFIG_HOME"/texlive/texmf-config +export PYENV=".venv" # Others export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv -- cgit v1.2.3