diff options
author | Rafael Marçalo <raroma09@gmail.com> | 2024-04-03 11:43:28 +0100 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2024-04-03 11:43:28 +0100 |
commit | 27c84f222d62cffc9ba40504cef36ac3b6b04503 (patch) | |
tree | 3a85007e4c53ef731e53fec840f3d33986ee59e1 | |
parent | 510db887fdf69a00ae245142d62cd803a576f518 (diff) |
Updated pyenv and chromium startup
-rw-r--r-- | misc/.config/misc/aliasrc | 2 | ||||
-rwxr-xr-x | scripts/.local/bin/activateVenv | 6 | ||||
-rwxr-xr-x | scripts/.local/bin/chrome | 3 | ||||
-rwxr-xr-x | shell/.config/shell/env | 1 |
4 files changed, 5 insertions, 7 deletions
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 |