#!/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"
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.
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)"'
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
# 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