]> Freerunner's - dotfiles.git/commitdiff
bash: update environment main
authorAndre Ramnitz <tux.rising@gmail.com>
Fri, 23 Jan 2026 19:01:48 +0000 (20:01 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Fri, 23 Jan 2026 19:02:29 +0000 (20:02 +0100)
dot-bash_profile
dot-bashrc
dot-profile

index 88f4cca31fbf4b47e94cabda8b012b44eb7e0c96..9cba21a900b203962cea67d550d1848828968b02 100644 (file)
@@ -1,12 +1,12 @@
 #!/bin/bash
 
-export PATH="$PATH:$HOME/Applications:$HOME/go/bin:$HOME/.cargo/bin:/opt/android-sdk/platform-tools"
+export PATH="{$PATH}:$HOME/node_modules/.bin:$HOME/Applications:$HOME/go/bin:$HOME/.cargo/bin:/opt/android-sdk/platform-tools"
 
 # User specific environment
 if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
     PATH="$HOME/.local/bin:$HOME/bin:$PATH"
 fi
-export PATH
+export PATH # no leading $umbass
 
 export EDITOR="kak"
 export VISUAL="kak"
@@ -25,6 +25,7 @@ export ZSTD_NBTHREADS="28"
 
 export VDPAU_DRIVER=radeonsi
 export GTK_USE_PORTAL=1
+export XDG_MENU_PREFIX=plasma-
 
 # This file is sourced by bash for login shells.  The following line
 # runs your .bashrc and is recommended by the bash info pages.
index 18ea0c3dfaf9481dda29a7746e16b1f3349acf59..2414d514b81e9334deca394c700b908c40d1e334 100644 (file)
@@ -12,8 +12,7 @@ export VISUAL='kak'
 alias cdg='cd "$(git rev-parse --show-toplevel)"'
 alias df='/usr/bin/df -h --output=target,fstype,used,avail,pcent,source | sort -n'
 alias du='du -h'
-alias fastfetch='fastfetch -c "$HOME/.config/fastfetch/default.jsonc"'
-alias ff='fastfetch'
+alias ff='fastfetch -c "$HOME/.config/fastfetch/default.jsonc"'
 alias grep='command grep -sil --color=auto'
 alias gdi='git diff '
 alias gg='cd "$(git rev-parse --show-toplevel)"'
@@ -98,11 +97,11 @@ if [ -t 0 ]; then
     case $(tty) in
         /dev/tty[0-9]*)
             command -v ttyscheme > /dev/null 2>&1 && ttyscheme c64
-            test -e /usr/bin/fastfetch && command fastfetch -c "$HOME/.config/fastfetch/default.jsonc" || true
+            test -e /usr/bin/fastfetch && echo ".bashrc says: hack along..." || true
             ;;
         /dev/pts/[0-9]*)
             # command -v base16-flavours > /dev/null 2>&1 && ~/.local/bin/base16-flavours || true
-            test -e /usr/bin/fastfetch && command fastfetch -c "$HOME/.config/fastfetch/default.jsonc" || true
+            test -e /usr/bin/fastfetch && echo ".bashrc says: hack along..." || true
             ;;
     esac
 fi
index a53255debb85e97f3c34c842e42ea8f5cd60eaba..1dc57f7878a431358fb59bc92ca00117d6ad7c49 100644 (file)
@@ -27,12 +27,19 @@ test -z "$PROFILEREAD" && . /etc/profile || true
 
 # keep it here, just in case...
 if [ -z "$XDG_RUNTIME_DIR" ]; then
-       XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir"
-       mkdir -pm 0700 "$XDG_RUNTIME_DIR"
-       export XDG_RUNTIME_DIR
+    XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir"
+    mkdir -pm 0700 "$XDG_RUNTIME_DIR"
+    export XDG_RUNTIME_DIR
 fi
 
-if [ -t 0 ]; then
-     echo Hack along...
+if [ -z "$XDG_SESSION_BUS_ADDRESS" ]; then
+    export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
 fi
 
+export SDL_JOYSTICK_HIDAPI=0
+
+export PATH="${PATH}:$HOME/node_modules/.bin"
+
+if [ -t 0 ]; then
+    echo ".profile says: hack along..."
+fi