summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2025-06-20 12:26:42 +0200
committerMike Vink <ivi@vinkies.net>2025-06-20 12:26:42 +0200
commit9c95c55d9a0d4d6bd264c66462444a6ce6cb4411 (patch)
treea186d9c40a36b99a12d36f41db540ca6a94e9362 /.config
parentcb41517f3213ff855b406f05fb57a1a56af3fff3 (diff)
add local.bashrc
Diffstat (limited to '.config')
-rw-r--r--.config/bash/bashrc1
-rw-r--r--.config/shell/profile1
2 files changed, 2 insertions, 0 deletions
diff --git a/.config/bash/bashrc b/.config/bash/bashrc
index 8a76dd3..9af3e77 100644
--- a/.config/bash/bashrc
+++ b/.config/bash/bashrc
@@ -2,6 +2,7 @@
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutenvrc" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutenvrc"
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc"
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc"
+[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/bash/local.bashrc" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc"
export PS1='\[\e]0;\w $(test "$IN_KAKOUNE_CONNECT" && printf '%s' "- $KAKOUNE_CLIENT@[$KAKOUNE_SESSION]")$(test "$TERM" && printf '%s' "- $TERM")\a\]\n\[\e[32m\]\u@\h \e[34m$(test "$IN_KAKOUNE_CONNECT" && printf '%s' "¶$KAKOUNE_SESSION") \[\e[33m\]\w\[\e[0m\]\n\[\e[1;36;1m\]λ\[\e[0m\] '
export PROMPT_DIRTRIM=3
diff --git a/.config/shell/profile b/.config/shell/profile
index ad92573..59754ac 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -24,6 +24,7 @@ export PATH="$PATH:$HOME/go/bin:/usr/local/go/bin"
export PATH="$HOME/.local/bin:$PATH"
if [ "$(uname -s)" = "Darwin" ]; then
export PATH="$HOME/.local/bin/macos.d:$PATH"
+ export PATH="/opt/homebrew/opt/findutils/libexec/gnubin:$PATH"
fi
[ ! -f "$XDG_CONFIG_HOME/shell/shortcutrc" ] && setsid -f shortcuts >/dev/null 2>&1