aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorjason2023-09-08 22:51:52 -0600
committerjason2023-09-08 22:52:02 -0600
commit6b586ad4c1d7ce421189dcd44633b770dec494c9 (patch)
tree2c4108550cf820aa75ae1a047eaddaedbb367aaa /bash
parent8248b352ca5edd27f02866095aee092b2adcc356 (diff)
downloaddotfiles-6b586ad4c1d7ce421189dcd44633b770dec494c9.tar.gz
dotfiles-6b586ad4c1d7ce421189dcd44633b770dec494c9.zip
update xdg for freebsd
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc11
1 files changed, 10 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 410cba8..0684e75 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -1,3 +1,10 @@
1# .bashrc
2#
3# note: this file is executed by interactive non-login shell
4# if it needs to execute for login shells too (i.e. virtual
5# tty) see .bash_profile. something like the following may
6# work: test -f ~/.bashrc && . ~/.bashrc
7
1LC_ALL="en_US.UTF-8" 8LC_ALL="en_US.UTF-8"
2# This PS1 is completed at the end, allowing statuses to be included between the directory and closing $ 9# This PS1 is completed at the end, allowing statuses to be included between the directory and closing $
3PS1="[\u@\[\e[38;5;148m\]\h\[\e[m\]:\[\e[36m\]\W\[\e[m\]\[\e[m\]]\[\e[m\]" 10PS1="[\u@\[\e[38;5;148m\]\h\[\e[m\]:\[\e[36m\]\W\[\e[m\]\[\e[m\]]\[\e[m\]"
@@ -11,7 +18,6 @@ PATH="${HOME}/bin:${HOME}/.local/bin:${PATH}"
11# Linux 18# Linux
12OS_NAME=`uname` 19OS_NAME=`uname`
13 20
14
15# Disable bash deprecation warning on OS X 21# Disable bash deprecation warning on OS X
16export BASH_SILENCE_DEPRECATION_WARNING=1 22export BASH_SILENCE_DEPRECATION_WARNING=1
17 23
@@ -175,6 +181,9 @@ fi
175[[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ 181[[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \
176 source /usr/local/share/bash-completion/bash_completion.sh 182 source /usr/local/share/bash-completion/bash_completion.sh
177 183
184if [[ $OS_NAME == "FreeBSD" ]]; then
185 export XDG_RUNTIME_DIR=/var/run/user/`id -u`
186fi
178####### 187#######
179 188
180# FZF 189# FZF