From b6e8a983ecb17ea05fc08e51599877ae8d0535ce Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Fri, 24 Dec 2021 19:55:44 +0100 Subject: . --- shell/.profile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'shell/.profile') diff --git a/shell/.profile b/shell/.profile index a3a427d..eda4c94 100644 --- a/shell/.profile +++ b/shell/.profile @@ -1,3 +1,13 @@ + +prepend_path () { + case ":$PATH:" in + *:"$1":*) + ;; + *) + PATH="$1${PATH:+:$PATH}" + esac +} + # export ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist # export CHICKEN_REPOSITORY=~/programs/chicken_repository # export GDK_BACKEND=wayland @@ -8,6 +18,11 @@ # export SDL_VIDEODRIVER=wayland # export SWEETHOME3D_JAVA3D=1.6 # export WLR_DRM_NO_MODIFIERS=1 -export PATH=~/bin:~/opt/python39/bin:~/opt/janet/bin:$PATH +export EDITOR=nvim export QT_QPA_PLATFORMTHEME=qt5ct export VISUAL=nvim + +prepend_path ~/opt/janet/bin +prepend_path ~/opt/python310/bin +prepend_path ~/bin +export PATH -- cgit v1.2.3-70-g09d2